Skip to content

Commit 03265e0

Browse files
dmnyuCopilot
andauthored
Update bagit.net/services/TagFileService.cs
Co-authored-by: Copilot <[email protected]>
1 parent b5683c6 commit 03265e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bagit.net/services/TagFileService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public void CreateBagItTXT(string bagRoot)
5858
var bagitTxt = Path.Combine(bagRoot, "bagit.txt");
5959
if (!System.Text.RegularExpressions.Regex.IsMatch(Bagit.BAGIT_VERSION, @"^\d+\.\d+$"))
6060
{
61-
_messageService.Add(new MessageRecord(MessageLevel.ERROR, ("Invalid BagIt version: {Bagit.BAGIT_VERSION}. Must be in 'major.minor' format.")));
61+
_messageService.Add(new MessageRecord(MessageLevel.ERROR, $"Invalid BagIt version: {Bagit.BAGIT_VERSION}. Must be in 'major.minor' format."));
6262
return;
6363
}
6464
var content = $"BagIt-Version: {Bagit.BAGIT_VERSION}\nTag-File-Character-Encoding: UTF-8\n";

0 commit comments

Comments
 (0)