adding a missing env to the cli
This commit is contained in:
parent
0f505962d0
commit
fc7f5be3a1
1 changed files with 2 additions and 2 deletions
|
|
@ -623,7 +623,7 @@ Requisition.prototype = {
|
||||||
*/
|
*/
|
||||||
exec: function() {
|
exec: function() {
|
||||||
var command = this.commandAssignment.value;
|
var command = this.commandAssignment.value;
|
||||||
canon.exec(command, this.getArgs(), this.toCanonicalString());
|
canon.exec(command, this.env, this.getArgs(), this.toCanonicalString());
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
@ -676,7 +676,7 @@ exports.Requisition = Requisition;
|
||||||
*/
|
*/
|
||||||
function CliRequisition(env, options) {
|
function CliRequisition(env, options) {
|
||||||
Requisition.call(this, env);
|
Requisition.call(this, env);
|
||||||
|
|
||||||
if (options && options.flags) {
|
if (options && options.flags) {
|
||||||
/**
|
/**
|
||||||
* TODO: We were using a default of keyboard.buildFlags({ });
|
* TODO: We were using a default of keyboard.buildFlags({ });
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue