mirror of
https://github.com/aleleba/create-node-ts-graphql-server.git
synced 2025-06-19 12:28:29 -06:00
PR-134290: fixing npx.
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user