Skip to content

Commit

Permalink
Fixed command line bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceiridge committed Apr 24, 2020
1 parent 97ffbb8 commit 41b8ecd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ChromeDevExtWarningPatcher/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static void Main(string[] args)

List<string> applicationPaths = new List<string>();

if(clOptions.CustomPath.Length > 0) {
if(clOptions.CustomPath != null && clOptions.CustomPath.Length > 0) {
if(!Directory.Exists(clOptions.CustomPath)) {
Console.WriteLine("CustomPath not found");
return;
Expand Down

0 comments on commit 41b8ecd

Please sign in to comment.