Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jahudka committed Sep 7, 2023
1 parent 468869e commit d3d760a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion core/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"ioc",
"inversion of control"
],
"version": "0.0.37",
"version": "0.0.38",
"license": "MIT",
"author": {
"name": "Dan Kadera",
Expand Down
2 changes: 1 addition & 1 deletion core/cli/src/compiler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ export class Compiler {
writer.write(') => ');

if (!decorators.length) {
this.compileCall(writer, join('.', source, path, hook), ['callback', ...params]);
this.compileCall(writer, join('.', source, path, hook), hook === 'onFork' ? ['callback', ...params] : params);
writer.write(',\n');
return;
}
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

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

0 comments on commit d3d760a

Please sign in to comment.