Skip to content

Commit

Permalink
🐛 add /usr/local/bin path to have access to mac
Browse files Browse the repository at this point in the history
  • Loading branch information
princejwesley committed Nov 7, 2015
1 parent fe3d4a1 commit 91526d6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/common/ReplContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,10 @@ let createContext = () => {

systemVariables = _.keys(context);

if(process.platform !== 'win32' && context.process.env.PATH.indexOf() == -1) {
context.process.env.PATH += ':/usr/local/bin';
}

return (cxt = context);
};

Expand Down

0 comments on commit 91526d6

Please sign in to comment.