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:
parent
41f3d54f4a
commit
a186e47e2c
2 changed files with 0 additions and 2 deletions
|
@ -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.
|
||||||
|
|
|
@ -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 = [];
|
||||||
|
|
Loading…
Reference in a new issue