diff --git a/lib/util/lerna.js b/lib/util/lerna.js index 2e9c59e7..b5fdf1dd 100755 --- a/lib/util/lerna.js +++ b/lib/util/lerna.js @@ -29,7 +29,7 @@ const getAllPackages = (state) => { const getChangedFiles = () => { const devNull = process.platform === 'win32' ? ' nul' : '/dev/null' - execSync('git diff --cached --name-only 2>' + devNull) + return execSync('git diff --cached --name-only 2>' + devNull) .toString() .trim() .split('\n');