Skip to content

Commit 92e055f

Browse files
fixed empty directory check bug
1 parent a6f8e37 commit 92e055f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MainClass.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ private static void RegularParametersParsing(string[] args)
535535
}
536536
}
537537

538-
if (parseInput.OutputDirectory != null && !Directory.Exists(parseInput.OutputDirectory))
538+
if (!parseInput.OutputDirectory.IsNullOrEmpty() && !Directory.Exists(parseInput.OutputDirectory))
539539
{
540540
throw new OptionException(
541541
"specify a valid output directory",

0 commit comments

Comments
 (0)