mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-31 19:02:59 +01:00
Bugfix / tests: Specs list type (#4169)
* remove cruft.. ugh * housekeeping: close stale issues * fix issue #3945
This commit is contained in:
parent
7873c76242
commit
e24ef6969e
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@ exports.expressCreateServer = function (hook_name, args, cb) {
|
||||||
files = files.filter(el => !/\.swp$/.test(el))
|
files = files.filter(el => !/\.swp$/.test(el))
|
||||||
|
|
||||||
console.debug("Sent browser the following test specs:", files);
|
console.debug("Sent browser the following test specs:", files);
|
||||||
res.send("var specs_list = " + JSON.stringify(files) + ";\n");
|
res.setHeader('content-type', 'text/javascript');
|
||||||
|
res.end("var specs_list = " + JSON.stringify(files) + ";\n");
|
||||||
});
|
});
|
||||||
|
|
||||||
// path.join seems to normalize by default, but we'll just be explicit
|
// path.join seems to normalize by default, but we'll just be explicit
|
||||||
|
|
Loading…
Reference in a new issue