Skip to content

Commit

Permalink
Merge pull request #75 from nooks/patch-2
Browse files Browse the repository at this point in the history
Fix add ENV
  • Loading branch information
typicode committed May 18, 2015
2 parents cc43ab1 + 9ac4cb7 commit 26b07f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/commands/add.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = function(args) {

if (e === 'PATH') continue

if (process.env.hasOwnProperty[e]) {
if (process.env.hasOwnProperty(e)) {
env[e] = process.env[e]
} else {
return console.log('Can\'t find ' + e + ' environment variable')
Expand Down

0 comments on commit 26b07f4

Please sign in to comment.