Skip to content

Commit 1fa3697

Browse files
committed
Remove top level check assuming arg[0] is a File
1 parent 7150f61 commit 1fa3697

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

DotNETDepends/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ static bool ValidateFileNameInput(string fileName)
1818
*/
1919
static async Task Main(string[] args)
2020
{
21-
if (args.Length == 1 && File.Exists(args[0]))
21+
if (args.Length == 1)
2222
{
2323
if ("--version".Equals(args[0]))
2424
{

0 commit comments

Comments
 (0)