Permalink
Browse files

store env when a remote is added

  • Loading branch information...
1 parent 6a0b296 commit 07a7c0ae7a009c26d962590dadeec396264b7dae @tellnes tellnes committed May 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/remote.js
View
@@ -10,7 +10,7 @@ var cmd = argv._[0];
if (cmd === 'add') {
var name = argv._[1] || 'default';
- remote.add(name, { hub : argv.hub, secret : argv.secret });
+ remote.add(name, { hub : argv.hub, secret : argv.secret, env: argv.env });
}
else if (cmd === 'rm' || cmd === 'remove') {
var name = argv._[1] || 'default';

0 comments on commit 07a7c0a

Please sign in to comment.