【Luban.Client】修复watch参数为空时抛出空指针异常的bug
parent
bdeff0ad81
commit
e36468dcc8
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue