Skip to content

Commit 458d551

Browse files
committed
code: Remove extra concatenate on array
1 parent 2f24e05 commit 458d551

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ async function e_call(argv, script, ...args) {
7676
let _script = 'lisp/' + script + '.el';
7777
let _path = path.join(_plugin_dir(), _script);
7878

79-
let cmd_base = ['-Q', '--batch', '--script', _path].concat(args);
79+
let cmd_base = ['-Q', '--batch', '--script', _path];
8080
let cmd_args = args;
8181
let cmd_global = _global_options(argv);
8282
let cmd = cmd_base.concat(cmd_args).concat(cmd_global);

0 commit comments

Comments
 (0)