Skip to content

Commit 34bf2d5

Browse files
Fix the file not found command line error
1 parent c27c8c2 commit 34bf2d5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CritLang/CommandLineArgs.cs

+2-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ public static string Parse(string[] args, string version)
2626
return arg;
2727
}
2828
}
29-
throw new Exception("Something went wrong");
29+
30+
return string.Empty;
3031
}
3132
}
3233
}

CritLang/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
using CritLang;
33
using CritLang.Content;
44

5-
string VERSION = "v0.1.6-beta";
5+
string VERSION = "v0.1.7-beta";
66

77
string fileName = CommandLineArgs.Parse(args, VERSION);
88

0 commit comments

Comments
 (0)