Skip to content

Commit

Permalink
Merge pull request #138 from dmvict/js_action
Browse files Browse the repository at this point in the history
READY: Fix exit helper for Docker actions
  • Loading branch information
dmvict authored Mar 8, 2024
2 parents 7f0b039 + 882b8cf commit d084097
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 d084097

Please sign in to comment.