mirror of
https://github.com/jashkenas/coffeescript.git
synced 2026-02-17 19:11:22 -05:00
stop shifting args
This commit is contained in:
@@ -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 = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user