support older than node 8.5
This commit is contained in:
parent
f12c78d6ec
commit
badad1a08e
|
|
@ -108,7 +108,7 @@ describe("bin/uglifyjs", function () {
|
||||||
}
|
}
|
||||||
var command = [
|
var command = [
|
||||||
uglifyjscmd,
|
uglifyjscmd,
|
||||||
"--source-map", "content=" + mapFile,
|
"--source-map", "content=" + mapFile + '"',
|
||||||
"--source-map", "url=inline"
|
"--source-map", "url=inline"
|
||||||
].join(" ");
|
].join(" ");
|
||||||
|
|
||||||
|
|
@ -119,7 +119,7 @@ describe("bin/uglifyjs", function () {
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
fs.copyFileSync("test/input/pr-3040/input.js.map", mapFile);
|
fs.writeFileSync(mapFile, read("test/input/pr-3040/input.js.map"));
|
||||||
child.stdin.end(read("test/input/pr-3040/input.js"));
|
child.stdin.end(read("test/input/pr-3040/input.js"));
|
||||||
}, 1000);
|
}, 1000);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user