We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5683c6 commit 03265e0Copy full SHA for 03265e0
bagit.net/services/TagFileService.cs
@@ -58,7 +58,7 @@ public void CreateBagItTXT(string bagRoot)
58
var bagitTxt = Path.Combine(bagRoot, "bagit.txt");
59
if (!System.Text.RegularExpressions.Regex.IsMatch(Bagit.BAGIT_VERSION, @"^\d+\.\d+$"))
60
{
61
- _messageService.Add(new MessageRecord(MessageLevel.ERROR, ("Invalid BagIt version: {Bagit.BAGIT_VERSION}. Must be in 'major.minor' format.")));
+ _messageService.Add(new MessageRecord(MessageLevel.ERROR, $"Invalid BagIt version: {Bagit.BAGIT_VERSION}. Must be in 'major.minor' format."));
62
return;
63
}
64
var content = $"BagIt-Version: {Bagit.BAGIT_VERSION}\nTag-File-Character-Encoding: UTF-8\n";
0 commit comments