Skip to content

Commit 7cdcb0a

Browse files
author
NotFoundOvO
authored
chore: fix JavaScript lint errors
PR-URL: #13186 Reviewed-by: Athan Reines <kgryte@gmail.com> Closes: #13185
1 parent ce4edb1 commit 7cdcb0a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • lib/node_modules/@stdlib/_tools/makie/makie/lib

lib/node_modules/@stdlib/_tools/makie/makie/lib/main.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
// MODULES //
2222

2323
var proc = require( 'process' );
24+
var objectKeys = require( '@stdlib/utils/keys' );
2425

2526

2627
// MAIN //
@@ -62,7 +63,7 @@ function makie( dirpath, opts, target ) {
6263

6364
// Load plugins...
6465
if ( opts.plugins ) {
65-
keys = Object.keys( opts.plugins );
66+
keys = objectKeys( opts.plugins );
6667
for ( i = 0; i < keys.length; i++ ) {
6768
key = keys[ i ];
6869
targets[ key ] = require( opts.plugins[ key ] ); // eslint-disable-line stdlib/no-dynamic-require

0 commit comments

Comments
 (0)