Skip to content

Commit

Permalink
fix: the application state can also be 'RUNNING'
Browse files Browse the repository at this point in the history
  • Loading branch information
remie committed Apr 17, 2024
1 parent b89610d commit ff345c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/applications/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export abstract class Base extends EventEmitter {
if (response) {
if (response.status === 200) {
const { data } = response;
if (data.state === 'FIRST_RUN') {
if (data.state === 'FIRST_RUN' || data.state === 'RUNNING') {
console.log(`The application ${this.name} is ready on ${this.baseUrl} 🎉`);
return true;
}
Expand Down

0 comments on commit ff345c6

Please sign in to comment.