Logging improvement

pull/310/head
Frostebite 2021-12-28 00:24:58 +00:00
parent efedce3b10
commit 57f2b487fd
3 changed files with 3 additions and 1 deletions

1
dist/index.js vendored
View File

@ -561,6 +561,7 @@ const cloud_runner_logger_1 = __importDefault(__webpack_require__(22855));
class CloudRunnerAgentSystem {
static Run(command) {
return __awaiter(this, void 0, void 0, function* () {
cloud_runner_logger_1.default.logCli(`${command}`);
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,6 +3,7 @@ import CloudRunnerLogger from '../../cloud-runner/services/cloud-runner-logger';
export class CloudRunnerAgentSystem {
public static async Run(command: string) {
CloudRunnerLogger.logCli(`${command}`);
return await new Promise<string>((promise) => {
let output = '';
const child = exec(command, (error, stdout, stderr) => {