Update 'scripting.js'
This commit is contained in:
parent
72e1204826
commit
2a2522e510
@ -39,11 +39,11 @@ async function bash(bashScript, options) {
|
|||||||
function exec(text) {
|
function exec(text) {
|
||||||
return execSync(text)+'';
|
return execSync(text)+'';
|
||||||
}
|
}
|
||||||
function print(text) {
|
function print(...text) {
|
||||||
process.stdout.write(text);
|
process.stdout.write(text.join(" "));
|
||||||
}
|
}
|
||||||
function println(text) {
|
function println(...text) {
|
||||||
process.stdout.write(text + '\n');
|
print(text) + process.stdout.write("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
const scriptPath = process.argv[2];
|
const scriptPath = process.argv[2];
|
||||||
|
Loading…
Reference in New Issue
Block a user