Skip to content

Commit

Permalink
升级依赖到最新,生成环境不检查
Browse files Browse the repository at this point in the history
  • Loading branch information
cool-team-official committed May 16, 2024
1 parent d055e85 commit 38a6693
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"cross-env": "^7.0.3",
"jest": "^29.7.0",
"mwts": "^1.3.0",
"mwtsc": "^1.9.0",
"mwtsc": "^1.9.1",
"ts-jest": "^29.1.2",
"typescript": "~5.4.5"
},
Expand Down
1 change: 1 addition & 0 deletions src/modules/base/event/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export class BaseAppEvent {

@Event('onMenuInit')
async onMenuInit() {
if (this.app.getEnv() != 'local') return;
this.checkConfig();
this.checkKeys();
}
Expand Down
1 change: 1 addition & 0 deletions src/modules/user/event/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export class UserAppEvent {

@Event('onMenuInit')
async onMenuInit() {
if (this.app.getEnv() != 'local') return;
this.checkConfig();
}

Expand Down

0 comments on commit 38a6693

Please sign in to comment.