Skip to content

Commit

Permalink
Fix routine shouldExit, change condition for docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
dmvict committed Mar 8, 2024
1 parent 9d23774 commit 882b8cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Retry.js
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ function shouldExit( config, scriptType )
if( _.strBegins( config.runs.using, 'node' ) && !config.runs[ scriptType ] )
return true;

if( config.runs.using === 'docker' && !scriptType === 'main' && !config.runs[ `${ scriptType }-entrypoint` ] )
if( config.runs.using === 'docker' && scriptType !== 'main' && !config.runs[ `${ scriptType }-entrypoint` ] )
return true;

return false;
Expand Down

0 comments on commit 882b8cf

Please sign in to comment.