Commit 136069ff authored by 神楽坂玲奈's avatar 神楽坂玲奈

test

parent 215967c2
Pipeline #4817 passed with stages
in 56 seconds
...@@ -49,7 +49,9 @@ export class RouteWriter { ...@@ -49,7 +49,9 @@ export class RouteWriter {
static commit() { static commit() {
// 可能改成异步的会更好点? // 可能改成异步的会更好点?
child_process.execFileSync('ip', ['-batch', '-'], { input: this.input.join('\n') }); const input = this.input.join('\n');
console.log(input);
child_process.execFileSync('ip', ['-batch', '-'], { input });
this.input = []; this.input = [];
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment