fix pretty printing and selftest

This commit is contained in:
Arpad Borsos
2022-07-09 15:39:43 +02:00
parent cb43a50800
commit 36af5cb1ae
5 changed files with 15 additions and 9 deletions

View File

@@ -22,7 +22,8 @@ export async function getCmdOutput(
...options,
});
} catch (e) {
core.error(stderr);
core.info(`[warning] Command failed: ${cmd} ${args.join(" ")}`);
core.info(`[warning] ${stderr}`);
throw e;
}
return stdout;