diff --git a/scripts/gulp/tasks/release.ts b/scripts/gulp/tasks/release.ts index dc2344fa5e..a56712e03d 100644 --- a/scripts/gulp/tasks/release.ts +++ b/scripts/gulp/tasks/release.ts @@ -45,7 +45,7 @@ task('release.removeDebugStatements', (done: Function) => { writeFileSync(filePath, cleanedJs); } } - }); + }, done()); }); function replaceAll(input: string, tokenToReplace: string, replaceWith: string) {