update: 更新light-code部分的代码模块
This commit is contained in:
@@ -59,9 +59,11 @@ export class AssistantInit extends AssistantConfig {
|
||||
}
|
||||
// create pem dir //
|
||||
const pemDir = path.join(this.configPath?.configDir, 'pem');
|
||||
if (!checkFileExists(pemDir)) {
|
||||
new HttpsPem(this);
|
||||
console.log(chalk.green('助手证书目录创建成功'));
|
||||
const httpsPem = new HttpsPem(this);
|
||||
if (httpsPem.isHttps) {
|
||||
if (!checkFileExists(pemDir)) {
|
||||
console.log(chalk.green('助手证书目录创建成功'));
|
||||
}
|
||||
}
|
||||
}
|
||||
createAssistantConfig() {
|
||||
|
||||
Reference in New Issue
Block a user