Skip to content

Commit dedf46c

Browse files
committed
fix(openshift): fix processing of rhc app show output
rhc returns the following text when application is not found $ rhc app show test Application 'test' not found.
1 parent b986998 commit dedf46c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: openshift/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Generator.prototype.rhcAppShow = function rhcAppShow() {
107107
this.abort = true;
108108
}
109109
// No remote found
110-
else if (stdout.search('not found.') < 0) {
110+
else if (stdout.search('not found.') >= 0) {
111111
console.log('No existing app found.');
112112
}
113113
// Error

0 commit comments

Comments
 (0)