Skip to content

Commit

Permalink
code: Remove extra concatenate on array
Browse files Browse the repository at this point in the history
  • Loading branch information
jcs090218 committed Mar 26, 2022
1 parent 2f24e05 commit 458d551
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ async function e_call(argv, script, ...args) {
let _script = 'lisp/' + script + '.el';
let _path = path.join(_plugin_dir(), _script);

let cmd_base = ['-Q', '--batch', '--script', _path].concat(args);
let cmd_base = ['-Q', '--batch', '--script', _path];
let cmd_args = args;
let cmd_global = _global_options(argv);
let cmd = cmd_base.concat(cmd_args).concat(cmd_global);
Expand Down

0 comments on commit 458d551

Please sign in to comment.