Skip to content

Commit 30cf485

Browse files
committed
build: check for single quotes around package names
1 parent e022582 commit 30cf485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1042,7 +1042,7 @@ function publish( pkg, clbk ) {
10421042

10431043
if ( !isTopLevelNS ) {
10441044
// Replace `@stdlib/bench` with `@stdlib/bench-harness` in standalone packages:
1045-
command = 'find '+dist+' -type f -name \'*.js\' -print0 | xargs -0 sed -i \'s/@stdlib\\/bench/@stdlib\\/bench-harness/g\'';
1045+
command = 'find '+dist+' -type f -name \'*.js\' -print0 | xargs -0 sed -i "s/\'@stdlib\\/bench\'/\'@stdlib\\/bench-harness\'/g"';
10461046
shell( command );
10471047
pkgJSON.devDependencies[ '@stdlib/bench-harness' ] = npmVersion( '@stdlib/bench-harness' );
10481048
delete pkgJSON.devDependencies[ '@stdlib/bench' ];

0 commit comments

Comments
 (0)