Skip to content

Commit cd090fb

Browse files
committed
chore: fix JavaScript lint errors (issue #7115)
1 parent e1e1e0f commit cd090fb

File tree

1 file changed

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

1 file changed

+3
-7
lines changed

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

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

43-
args = new Array( 2 );
44-
45-
// Environment variables:
46-
args[ 0 ] = 'REPL_DIR='+cwd;
47-
48-
// Target:
49-
args[ 1 ] = 'repl';
43+
args = [];
44+
args.push( 'REPL_DIR=' + cwd );
45+
args.push( 'repl' );
5046

5147
spawn( 'make', args, opts );
5248
}

0 commit comments

Comments
 (0)