Skip to content

Commit 3203d51

Browse files
fix: after-createProject hook may not be executed
In some cases the `after-createProject` may not be executed as we have missed the `await` of the promise.
1 parent e83918b commit 3203d51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/services/project-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class ProjectService implements IProjectService {
9090
throw err;
9191
}
9292

93-
this.$hooksService.executeAfterHooks(Hooks.createProject, {
93+
await this.$hooksService.executeAfterHooks(Hooks.createProject, {
9494
hookArgs: projectCreationSettings
9595
});
9696

0 commit comments

Comments
 (0)