Explorar el Código

fixed base path

Former-commit-id: 1bd197fd3c4f078bb8258a05160d5740def70863
Gildas hace 6 años
padre
commit
9f308ef05b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      cli/back-ends/common/scripts.js

+ 1 - 1
cli/back-ends/common/scripts.js

@@ -71,7 +71,7 @@ exports.get = async options => {
 	] = await Promise.all(WEB_SCRIPTS.map(path => readScriptFile(path)));
 	scripts += "this.singlefile.lib.getFileContent = filename => (" + JSON.stringify(webScripts) + ")[filename];\n";
 	scripts += await readFiles(SCRIPTS);
-	scripts += await readFiles(options.browserScripts);
+	scripts += await readFiles(options.browserScripts, "");
 	return scripts;
 };