less noise

This commit is contained in:
Manav Rathi 2024-04-27 20:21:54 +05:30
parent 17275ed29d
commit 7836562ff1
No known key found for this signature in database

View file

@ -33,11 +33,9 @@ export const execAsync = (command: string | string[]) => {
? shellescape(command)
: command;
const startTime = Date.now();
log.debug(() => `Running shell command: ${escapedCommand}`);
const result = execAsync_(escapedCommand);
log.debug(
() =>
`Completed in ${Math.round(Date.now() - startTime)} ms (${escapedCommand})`,
() => `${escapedCommand} (${Math.round(Date.now() - startTime)} ms)`,
);
return result;
};