Skip to content

Commit 2d7f6e4

Browse files
committed
Fixes remove docker container logic
1 parent 1acd1cc commit 2d7f6e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runWithDocker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const { execSync } = require('child_process');
44
require('dotenv').config();
55

66
const jarPath = process.env.POWPEG_NODE_JAR_PATH;
7-
const removeContainerAfterExecution = Boolean(process.env.DOCKER_REMOVE_CONTAINER_AFTER_EXECUTION);
7+
const removeContainerAfterExecution = process.env.DOCKER_REMOVE_CONTAINER_AFTER_EXECUTION === 'true';
88

99
const removeContainerAfterExecutionFlag = removeContainerAfterExecution ? '--rm' : '';
1010

0 commit comments

Comments
 (0)