1
0
Fork 0
mirror of https://github.com/jashkenas/coffeescript.git synced 2022-11-09 12:23:24 -05:00

stop shifting args

This commit is contained in:
Jeremy Ashkenas 2009-12-28 16:20:11 -05:00
parent 41f3d54f4a
commit a186e47e2c
2 changed files with 0 additions and 2 deletions

View file

@ -20,7 +20,6 @@ checkForErrors: coffeeProcess =>
# Run a simple REPL, round-tripping to the CoffeeScript compiler for every # Run a simple REPL, round-tripping to the CoffeeScript compiler for every
# command. # command.
exports.run: args => exports.run: args =>
args.shift()
if args.length if args.length
exports.evalCS(File.read(path)) for path in args. exports.evalCS(File.read(path)) for path in args.
return true. return true.

View file

@ -19,7 +19,6 @@
// command. // command.
exports.run = function(args) { exports.run = function(args) {
var __a, __b, __c, __d, path, result; var __a, __b, __c, __d, path, result;
args.shift();
if (args.length) { if (args.length) {
__a = args; __a = args;
__d = []; __d = [];