File: maybe-missing-async.patch

package info (click to toggle)
node-babel7 7.20.15%2Bds1%2B~cs214.269.168-9
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 135,684 kB
  • sloc: javascript: 162,146; sh: 364; makefile: 306
file content (26 lines) | stat: -rw-r--r-- 944 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Description: fix this error:
 The following tasks did not complete: build-babel-standalone, rollup-babel-standalone
 Did you forget to signal async completion?
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2021-12-17

--- a/Gulpfile.mjs
+++ b/Gulpfile.mjs
@@ -696,13 +696,13 @@
   return generateRuntimeHelpers();
 });
 
-gulp.task("generate-standalone", () => generateStandalone());
+gulp.task("generate-standalone", async () => generateStandalone());
 
 gulp.task("build-rollup", () => buildRollup(libBundles));
-gulp.task("rollup-babel-standalone", () => buildRollup(standaloneBundle, true));
+gulp.task("rollup-babel-standalone", async () => buildRollup(standaloneBundle, true));
 gulp.task(
   "build-babel-standalone",
-  gulp.series("generate-standalone", "rollup-babel-standalone")
+  async () => gulp.series("generate-standalone", "rollup-babel-standalone")
 );
 
 gulp.task("copy-dts", () => copyDts(dtsBundles));