Skip to content

Commit 65e658c

Browse files
committed
Handle changed error message
1 parent 58d539a commit 65e658c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -480,7 +480,7 @@ function publish( pkg, clbk ) {
480480
debug( 'Executing command to retrieve last version: %s', command );
481481
try {
482482
command = shell( command ).toString();
483-
if ( contains( command, 'remote: Repository not found.' ) ) {
483+
if ( contains( command, 'not found' ) ) {
484484
repoExists = false;
485485
} else {
486486
repoExists = true;

0 commit comments

Comments
 (0)