From e36468dcc8253340c54dd8d5b65b7cea58a7912f Mon Sep 17 00:00:00 2001 From: walon Date: Tue, 8 Jun 2021 21:06:58 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90Luban.Client=E3=80=91=E4=BF=AE?= =?UTF-8?q?=E5=A4=8Dwatch=E5=8F=82=E6=95=B0=E4=B8=BA=E7=A9=BA=E6=97=B6?= =?UTF-8?q?=E6=8A=9B=E5=87=BA=E7=A9=BA=E6=8C=87=E9=92=88=E5=BC=82=E5=B8=B8?= =?UTF-8?q?=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Luban.Client/Source/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Luban.Client/Source/Program.cs b/src/Luban.Client/Source/Program.cs index 76a4c26..7a9ab75 100644 --- a/src/Luban.Client/Source/Program.cs +++ b/src/Luban.Client/Source/Program.cs @@ -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();