Exit rewrite process if passed not existed file
This commit is contained in:
parent
6ad8b92c84
commit
1e2af5e648
1 changed files with 1 additions and 0 deletions
|
@ -42,6 +42,7 @@ namespace OpenTK.Rewrite
|
|||
{
|
||||
Console.Error.WriteLine($"Target assembly not found. \n" +
|
||||
$"Please check the given path ({Options.TargetAssembly}).");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!File.Exists(Path.ChangeExtension(Options.TargetAssembly, "pdb")))
|
||||
|
|
Loading…
Reference in a new issue