diff --git a/lib/node_modules/@stdlib/_tools/makie/plugins/makie-repl/lib/main.js b/lib/node_modules/@stdlib/_tools/makie/plugins/makie-repl/lib/main.js index 0765524c154e..f242c8710145 100644 --- a/lib/node_modules/@stdlib/_tools/makie/plugins/makie-repl/lib/main.js +++ b/lib/node_modules/@stdlib/_tools/makie/plugins/makie-repl/lib/main.js @@ -40,13 +40,13 @@ function plugin( dir, cwd ) { opts.cwd = dir; opts.stdio = 'inherit'; - args = new Array( 2 ); + args = []; // Environment variables: - args[ 0 ] = 'REPL_DIR='+cwd; + args.push( 'REPL_DIR='+cwd ); // Target: - args[ 1 ] = 'repl'; + args.push( 'repl' ); spawn( 'make', args, opts ); }