PR-134290: fixing npx.

This commit is contained in:
2022-08-06 01:40:39 +00:00
parent 9cbed6b8ea
commit ddb040f45c
2 changed files with 10 additions and 1 deletions

View File

@ -14,6 +14,15 @@ const runCommand = command => {
return true;
}
const runCommandWithOutput = command => {
try{
return execSync(`${command}`);
} catch (e) {
console.error(`Failed to execute ${command}`, e);
return false;
}
}
const replaceTextOnFile = ({
file,
textToBeReplaced,