pull/310/head
Frostebite 2021-12-31 22:54:22 +00:00
parent 889fca27f1
commit d686b0ba05
3 changed files with 7 additions and 3 deletions

4
dist/index.js vendored
View File

@ -650,7 +650,9 @@ const remote_client_logger_1 = __webpack_require__(68972);
class CloudRunnerAgentSystem {
static Run(command) {
return __awaiter(this, void 0, void 0, function* () {
remote_client_logger_1.RemoteClientLogger.log(`${command}`);
for (const element of command.split(`\n`)) {
remote_client_logger_1.RemoteClientLogger.log(element);
}
return yield new Promise((promise) => {
let output = '';
const child = child_process_1.exec(command, (error, stdout, stderr) => {

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,9 @@ import { RemoteClientLogger } from './remote-client-logger';
export class CloudRunnerAgentSystem {
public static async Run(command: string) {
RemoteClientLogger.log(`${command}`);
for (const element of command.split(`\n`)) {
RemoteClientLogger.log(element);
}
return await new Promise<string>((promise) => {
let output = '';
const child = exec(command, (error, stdout, stderr) => {