diff --git a/src/index.js b/src/index.js index 48d2503..c48d960 100644 --- a/src/index.js +++ b/src/index.js @@ -74,10 +74,9 @@ function main() { var src = a._.slice(1, splitAt === -1 ? undefined : splitAt ); var dst = splitAt === -1 ? [] : a._.slice( splitAt + 1 ); ( splitAt === -1 ) && src.length > 1 && dst.push( src.pop() ); // Allow omitting TO keyword - var parms = [ src, dst, opts, logMsg ]; // Invoke the action - FCMD.verbs[ verb ].apply( null, parms ); + FCMD.verbs[ verb ].apply( null, [ src, dst, opts, logMsg ] ); }