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