mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 23:24:52 +09:00
Remove unneeded comments
This commit is contained in:
2 files changed
-7
No files matched your search
@@ -8,9 +8,6 @@ const { escapeArg } = require("../../packages/create/escape_arg");
|
||||
const execFile = util.promisify(child_process.execFile);
|
||||
|
||||
async function exec(file, args) {
|
||||
// Escape the arguments and join them into the command the same way
|
||||
// create.js does, rather than passing them to execFile which would only
|
||||
// concatenate them by space without escaping (DEP0190).
|
||||
const command = [file, ...args.map(escapeArg)].join(" ");
|
||||
const { stdout, stderr } = await execFile(
|
||||
command,
|
||||
|
||||
Reference in new issue
Block a user