Skip to content

Commit

Permalink
Always starts a new container
Browse files Browse the repository at this point in the history
  • Loading branch information
MitchPierias committed Apr 26, 2019
1 parent 548462f commit f9fb7a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/lamington-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import { ConfigManager } from '../configManager';
const run = async () => {
// Initialize the configuration
await ConfigManager.initWithDefaults();
// Stop running instances when keepAlive is false
if (!ConfigManager.keepAlive && await eosIsReady()) {
// Stop running instances for fresh test environment
if (await eosIsReady()) {
await stopContainer();
}
// Ensures we have our .gitignore inside the .lamington directory
Expand Down

0 comments on commit f9fb7a6

Please sign in to comment.