Skip to content

Commit

Permalink
fix: return statement is not needed
Browse files Browse the repository at this point in the history
  • Loading branch information
martipoe committed May 23, 2024
1 parent 3131d23 commit 64f1c34
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion recipe/reset_from_gitlab_artifact.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

if (!filter_var($url, FILTER_VALIDATE_URL) || !preg_match('#jobs\/artifacts\/.+\/download$#', parse_url($url, PHP_URL_PATH))) {
throw new GracefulShutdownException('Gitlab API URL is invalid: "' . $url . '"');
return;
}
if (get('is_argument_host_the_same_as_local_host')) {
$activeDir = get('deploy_path') . (testLocally('[ -e {{deploy_path}}/release ]') ? '/release' : '/current');
Expand Down

0 comments on commit 64f1c34

Please sign in to comment.