diff --git a/bin/cli.js b/bin/cli.js index 12b964b..3e829a7 100644 --- a/bin/cli.js +++ b/bin/cli.js @@ -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, diff --git a/package.json b/package.json index 567e7e8..3955eff 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@aleleba/create-node-ts-graphql-server", - "version": "1.1.2", + "version": "1.1.3", "description": "Node with Typescript and GraphQL Server", "bin": "./bin/cli.js", "main": "index.js",