Browse Source

Remove superfluous dollar signs from bundle/package error messages.

pull/2863/head
Siegfried Pammer 3 years ago
parent
commit
c797d53a76
  1. 2
      ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs
  2. 2
      ICSharpCode.ILSpyX/LoadedPackage.cs

2
ICSharpCode.ILSpyCmd/IlspyCmdProgram.cs

@ -363,7 +363,7 @@ Examples:
if (decompressedStream.Length != entry.Size) if (decompressedStream.Length != entry.Size)
{ {
app.Error.WriteLine($"Corrupted single-file entry '${entry.RelativePath}'. Declared decompressed size '${entry.Size}' is not the same as actual decompressed size '${decompressedStream.Length}'."); app.Error.WriteLine($"Corrupted single-file entry '{entry.RelativePath}'. Declared decompressed size '{entry.Size}' is not the same as actual decompressed size '{decompressedStream.Length}'.");
return ProgramExitCodes.EX_DATAERR; return ProgramExitCodes.EX_DATAERR;
} }

2
ICSharpCode.ILSpyX/LoadedPackage.cs

@ -221,7 +221,7 @@ namespace ICSharpCode.ILSpyX
deflateStream.CopyTo(decompressedStream); deflateStream.CopyTo(decompressedStream);
if (decompressedStream.Length != entry.Size) if (decompressedStream.Length != entry.Size)
{ {
throw new InvalidDataException($"Corrupted single-file entry '${entry.RelativePath}'. Declared decompressed size '${entry.Size}' is not the same as actual decompressed size '${decompressedStream.Length}'."); throw new InvalidDataException($"Corrupted single-file entry '{entry.RelativePath}'. Declared decompressed size '{entry.Size}' is not the same as actual decompressed size '{decompressedStream.Length}'.");
} }
decompressedStream.Seek(0, SeekOrigin.Begin); decompressedStream.Seek(0, SeekOrigin.Begin);

Loading…
Cancel
Save