From 1e2af5e64825fb43a2a7bcaa2b28011885778c45 Mon Sep 17 00:00:00 2001 From: VperuS Date: Sun, 14 Jan 2018 17:36:35 +0200 Subject: [PATCH] Exit rewrite process if passed not existed file --- src/Generator.Rewrite/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Generator.Rewrite/Program.cs b/src/Generator.Rewrite/Program.cs index 6c653348..d0843901 100644 --- a/src/Generator.Rewrite/Program.cs +++ b/src/Generator.Rewrite/Program.cs @@ -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")))