From a186e47e2cbfd20d60fe39328d7f10a8752091cc Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Mon, 28 Dec 2009 16:20:11 -0500 Subject: [PATCH] stop shifting args --- lib/coffee_script/narwhal/coffee-script.coffee | 1 - lib/coffee_script/narwhal/lib/coffee-script.js | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/coffee_script/narwhal/coffee-script.coffee b/lib/coffee_script/narwhal/coffee-script.coffee index 00b85473..645b083a 100644 --- a/lib/coffee_script/narwhal/coffee-script.coffee +++ b/lib/coffee_script/narwhal/coffee-script.coffee @@ -20,7 +20,6 @@ checkForErrors: coffeeProcess => # Run a simple REPL, round-tripping to the CoffeeScript compiler for every # command. exports.run: args => - args.shift() if args.length exports.evalCS(File.read(path)) for path in args. return true. diff --git a/lib/coffee_script/narwhal/lib/coffee-script.js b/lib/coffee_script/narwhal/lib/coffee-script.js index d9266ca1..3879f04a 100644 --- a/lib/coffee_script/narwhal/lib/coffee-script.js +++ b/lib/coffee_script/narwhal/lib/coffee-script.js @@ -19,7 +19,6 @@ // command. exports.run = function(args) { var __a, __b, __c, __d, path, result; - args.shift(); if (args.length) { __a = args; __d = [];