3
0
Fork 0
mirror of https://github.com/Swatinem/rust-cache synced 2025-06-19 06:43:41 +00:00

fix pretty printing and selftest

This commit is contained in:
Arpad Borsos 2022-07-09 15:39:43 +02:00
parent cb43a50800
commit 36af5cb1ae
No known key found for this signature in database
GPG key ID: FC7BCA77824B3298
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;