Skip to content
This repository has been archived by the owner on Jun 16, 2021. It is now read-only.

Commit

Permalink
fix: actually return execSync() result
Browse files Browse the repository at this point in the history
closes #19
  • Loading branch information
streamich committed Mar 5, 2019
1 parent 3a4256e commit 9321454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/util/lerna.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 9321454

Please sign in to comment.