Skip to content

Commit

Permalink
Handle case where PATH is not set in the environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
sbalousek committed Aug 19, 2019
1 parent 4e09cc0 commit f2832a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default {
// accidentially override any other node installation

// Note: This should probably be removed in a end-user friendly way...
process.env.PATH += ':/usr/local/bin';
process.env.PATH = (process.env.PATH ? (process.env.PATH + ':') : '') + '/usr/local/bin';
}

require('atom-package-deps').install('build');
Expand Down

0 comments on commit f2832a1

Please sign in to comment.