From cb8c83978177a8d3de769fca12d2aa3642eb0275 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 16 十一月 2021 12:42:32 +0800 Subject: [PATCH] 2021-11-16 --- src/index.js | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/index.js b/src/index.js index ea50c5d..b75a85e 100644 --- a/src/index.js +++ b/src/index.js @@ -100,6 +100,9 @@ if (config.probation && /^20\d{2}-\d{2}-\d{2}$/.test(config.probation) && new Date(config.probation).getTime() > new Date().getTime()) { GLOB.probation = true } + } else if (options.sysType === 'local') { + GLOB.probation = true + GLOB.systemType = '' } else { GLOB.systemType = '' } -- Gitblit v1.8.0