修复初始化设置通知,shell 映射,邮箱通知错误提示

This commit is contained in:
whyour
2023-11-02 00:41:04 +08:00
parent 20f615eadf
commit 085cb789b5
4 changed files with 53 additions and 55 deletions
+2 -2
View File
@@ -8,8 +8,8 @@ async function linkToNodeModule(src: string, dst?: string) {
const target = path.join(config.rootPath, 'node_modules', dst || src);
const source = path.join(config.rootPath, src);
const _exist = await fileExist(target);
if (!_exist) {
const stats = await fs.lstat(target);
if (!stats) {
await fs.symlink(source, target, 'dir');
}
}
-1
View File
@@ -105,7 +105,6 @@ export default ({ app }: { app: Application }) => {
}
const userService = Container.get(UserService);
const authInfo = await userService.getUserInfo();
const envCount = await EnvModel.count();
let isInitialized = true;
if (