Gildas 5 tahun lalu
induk
melakukan
88518d67d8
1 mengubah file dengan 3 tambahan dan 1 penghapusan
  1. 3 1
      cli/single-file

+ 3 - 1
cli/single-file

@@ -23,7 +23,7 @@
  *   Source.
  */
 
-/* global require, URL */
+/* global require, module, URL */
 
 const VALID_URL_TEST = /^(https?|file):\/\//;
 
@@ -46,6 +46,8 @@ options.browserScripts = options.browserScripts.map(path => require.resolve(path
 const backend = require(backEnds[options.backEnd]);
 run(options);
 
+module.exports = run;
+
 async function run(options) {
 	await backend.initialize(options);
 	let tasks;