【Luban.Client】修复watch参数为空时抛出空指针异常的bug

main
walon 2021-06-08 21:06:58 +08:00
parent bdeff0ad81
commit e36468dcc8
1 changed files with 1 additions and 1 deletions

View File

@ -156,7 +156,7 @@ Options:
ThreadPool.SetMaxThreads(64, 10);
if (options.WatchDir.Length == 0)
if (options.WatchDir == null || options.WatchDir.Length == 0)
{
int exitCode = GenOnce(options, profile);
profile.EndPhaseAndLog();