Skip to content

Commit 74f3ead

Browse files
updates
1 parent ebfff1f commit 74f3ead

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/coverlet.core/Helpers/InstrumentationHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public static void BackupOriginalModule(string module, string identifier)
9797
File.Copy(module, backupPath, true);
9898
if (!_backupList.TryAdd(module, backupPath))
9999
{
100-
throw new ArgumentException($"Key already found '{module}'");
100+
throw new ArgumentException($"Key already added '{module}'");
101101
}
102102

103103
var symbolFile = Path.ChangeExtension(module, ".pdb");
@@ -106,7 +106,7 @@ public static void BackupOriginalModule(string module, string identifier)
106106
File.Copy(symbolFile, backupSymbolPath, true);
107107
if (!_backupList.TryAdd(symbolFile, backupSymbolPath))
108108
{
109-
throw new ArgumentException($"Key already found '{module}'");
109+
throw new ArgumentException($"Key already added '{module}'");
110110
}
111111
}
112112
}

0 commit comments

Comments
 (0)