Skip to content

Commit 5dfbc75

Browse files
committed
chore: fix JavaScript lint errors (issue #<ISSUE_NUMBER>)
1 parent 33cdbf4 commit 5dfbc75

File tree

1 file changed

+3
-5
lines changed
  • lib/node_modules/@stdlib/_tools/makie/plugins/makie-view-cov/lib

1 file changed

+3
-5
lines changed

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,9 @@ function plugin( dir ) {
8888

8989
opts = {};
9090
opts.cwd = dir;
91-
92-
args = new Array( 1 );
93-
94-
// Target:
95-
args[ 0 ] = 'view-cov';
91+
// target
92+
args = [];
93+
args.push('view-cov');
9694

9795
proc = spawn( 'make', args, opts );
9896
proc.on( 'error', onError );

0 commit comments

Comments
 (0)