File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
lib/node_modules/@stdlib/_tools/scripts Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -1205,6 +1205,16 @@ function publish( pkg, clbk ) {
1205
1205
} , onRepoCreation ) ;
1206
1206
}
1207
1207
1208
+ /**
1209
+ * Adds executable permission to `bin/cli` files.
1210
+ *
1211
+ * @private
1212
+ * @param {Object } git - `git` class instance
1213
+ */
1214
+ function updatePermissions ( git ) {
1215
+ shell ( 'find ' + git . cwd + ' -regex \'.*/bin/cli\' -print0 | xargs -r -0 chmod +x' ) ;
1216
+ }
1217
+
1208
1218
/**
1209
1219
* Publishes the package to npm.
1210
1220
*
@@ -1295,16 +1305,6 @@ function publish( pkg, clbk ) {
1295
1305
invokeCallback ( ) ;
1296
1306
}
1297
1307
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
-
1308
1308
/**
1309
1309
* Replacer function for inserting an install section before a usage section.
1310
1310
*
You can’t perform that action at this time.
0 commit comments