Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@ function stderr( data ) {
*
* @param {string} dir - Makefile directory
* @param {string} cwd - current working directory
* @param {string} subpath - subdirectory path
*/
function plugin( dir, cwd ) {
var opts;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@
* Plugin to view a complexity report.
*
* @param {string} dir - Makefile directory
* @param {string} cwd - current working directory
* @param {string} subpath - subdirectory path
*/
function plugin( dir ) {
var opts;
Expand All @@ -89,7 +87,7 @@
opts = {};
opts.cwd = dir;

args = new Array( 1 );

Check failure on line 90 in lib/node_modules/@stdlib/_tools/makie/plugins/makie-view-complexity/lib/main.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Using the `new Array()` constructor is not allowed; use an array literal with push instead

// Target:
args[ 0 ] = 'view-complexity';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ function stderr( data ) {
* Plugin to view a test coverage report.
*
* @param {string} dir - Makefile directory
* @param {string} cwd - current working directory
* @param {string} subpath - subdirectory path
*/
function plugin( dir ) {
var opts;
Expand Down
Loading