adding a missing env to the cli

This commit is contained in:
Joe Walker 2010-12-15 20:11:32 +00:00
commit fc7f5be3a1

View file

@ -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({ });