Skip to content

Commit

Permalink
fix: commit
Browse files Browse the repository at this point in the history
  • Loading branch information
richenlin committed Jul 28, 2023
1 parent 8810c5a commit 883db5f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
5 changes: 2 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
"koatty_config": "^1.1.6",
"koatty_container": "^1.8.1",
"koatty_core": "^1.7.8",
"koatty_exception": "^1.2.8",
"koatty_lib": "^1.3.3",
"koatty_loader": "^1.1.0",
"koatty_logger": "^2.1.1",
Expand All @@ -92,4 +91,4 @@
"koatty_trace": "^1.9.1",
"koatty_validation": "^1.2.8"
}
}
}
2 changes: 1 addition & 1 deletion src/core/Bootstrap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ export function Bootstrap(bootFunc?: Function): ClassDecorator {
export function ExecBootStrap(bootFunc?: Function) {
return async (target: any) => {
if (!(target.prototype instanceof Koatty)) {
throw new Error(`class ${target.name} does not inherit from TKoatty`);
throw new Error(`class ${target.name} does not inherit from Koatty`);
}
return await executeBootstrap(target, bootFunc, true);
};
Expand Down

0 comments on commit 883db5f

Please sign in to comment.