Skip to content

Commit

Permalink
fix: consider env running check if any container is up
Browse files Browse the repository at this point in the history
  • Loading branch information
thepiwo committed Apr 1, 2022
1 parent 187b166 commit deaf578
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/env/env.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async function isEnvRunning(cwd = './') {
compilerConfiguration.containerName,
proxyConfiguration.containerName,
];
return containers.every((containerName) => {
return containers.some((containerName) => {
const line = info.split('\n').find((l) => l.includes(containerName));
return line && (line.includes('Up') || line.includes('running'));
});
Expand Down

0 comments on commit deaf578

Please sign in to comment.