Skip to content

Commit

Permalink
fix: actually return execSync() result
Browse files Browse the repository at this point in the history
closes #19
  • Loading branch information
streamich authored 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

1 comment on commit 9321454

@streamich
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Build version: 1.8.4-master.57 🤞 master on Travis 🎉

Please sign in to comment.