From fc7f5be3a1959c3ff3612f42c33589ecac0b32a2 Mon Sep 17 00:00:00 2001 From: Joe Walker Date: Wed, 15 Dec 2010 20:11:32 +0000 Subject: [PATCH] adding a missing env to the cli --- plugins/cockpit/cli.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/cockpit/cli.js b/plugins/cockpit/cli.js index ed9aa87c..bb8428c7 100644 --- a/plugins/cockpit/cli.js +++ b/plugins/cockpit/cli.js @@ -623,7 +623,7 @@ Requisition.prototype = { */ exec: function() { 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) { Requisition.call(this, env); - + if (options && options.flags) { /** * TODO: We were using a default of keyboard.buildFlags({ });