Skip to content

Commit 66605d6

Browse files
Seth-Bankerkgryte
andauthored
chore: fix JavaScript lint errors
PR-URL: #8090 Closes: #8088 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 724283b commit 66605d6

File tree

2 files changed

+10
-12
lines changed

2 files changed

+10
-12
lines changed

lib/node_modules/@stdlib/_tools/scripts/publish_packages.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -606,6 +606,16 @@ function onTopics( error, data, info ) {
606606
console.log( 'Rate limit: '+JSON.stringify( info ) );
607607
}
608608

609+
/**
610+
* Adds executable permission to `bin/cli` files.
611+
*
612+
* @private
613+
* @param {Object} git - `git` class instance
614+
*/
615+
function updatePermissions( git ) {
616+
shell( 'find '+git.cwd+' -regex \'.*/bin/cli\' -print0 | xargs -r -0 chmod +x' );
617+
}
618+
609619
/**
610620
* Publishes a package to the respective GitHub repository.
611621
*
@@ -1295,16 +1305,6 @@ function publish( pkg, clbk ) {
12951305
invokeCallback();
12961306
}
12971307

1298-
/**
1299-
* Adds executable permission to `bin/cli` files.
1300-
*
1301-
* @private
1302-
* @param {Object} git - `git` class instance
1303-
*/
1304-
function updatePermissions( git ) {
1305-
shell( 'find '+git.cwd+' -regex \'.*/bin/cli\' -print0 | xargs -r -0 chmod +x' );
1306-
}
1307-
13081308
/**
13091309
* Replacer function for inserting an install section before a usage section.
13101310
*

lib/node_modules/@stdlib/assert/is-integer-array/examples/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/* eslint-disable no-new-wrappers */
20-
2119
'use strict';
2220

2321
var Number = require( '@stdlib/number/ctor' );

0 commit comments

Comments
 (0)