Skip to content

Commit 9cc2cc3

Browse files
chore: fix JavaScript lint errors
PR-URL: #7345 Closes: #7115 Reviewed-by: Athan Reines <[email protected]>
1 parent 0da78b4 commit 9cc2cc3

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/_tools/makie/plugins/makie-repl/lib

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/_tools/makie/plugins/makie-repl/lib/main.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@ function plugin( dir, cwd ) {
4040
opts.cwd = dir;
4141
opts.stdio = 'inherit';
4242

43-
args = new Array( 2 );
43+
args = [];
4444

4545
// Environment variables:
46-
args[ 0 ] = 'REPL_DIR='+cwd;
46+
args.push( 'REPL_DIR='+cwd );
4747

4848
// Target:
49-
args[ 1 ] = 'repl';
49+
args.push( 'repl' );
5050

5151
spawn( 'make', args, opts );
5252
}

0 commit comments

Comments
 (0)