Skip to content

Commit 5072b87

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

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
@@ -102,7 +102,7 @@ public void ValidateBagitTXT(string bagRoot)
102102
{
103103
var bagitPath = Path.Combine(bagRoot, "bagit.txt");
104104
if (!File.Exists(bagitPath))
105-
_messageService.Add(new MessageRecord(MessageLevel.ERROR, "bagit.txt is missing from {bagRoot}."));
105+
_messageService.Add(new MessageRecord(MessageLevel.ERROR, $"bagit.txt is missing from {bagRoot}."));
106106
var tags = GetTagFileAsDict(bagitPath);
107107

108108
if (!tags.TryGetValue("BagIt-Version", out var version))

0 commit comments

Comments
 (0)