Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
sabbelasichon authored and github-actions[bot] committed May 24, 2023
1 parent 06295f1 commit f65d888
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ function findAllReleases(Deployment $deployment, Node $node, Application $applic
*/
function findPreviousReleaseIdentifier(Deployment $deployment, Node $node, Application $application, ShellCommandService $shell): string
{
$previousReleasePath = $node->getReleasesPath().'/previous';
$previousReleasePath = $node->getReleasesPath() . '/previous';

return trim($shell->execute("if [ -h $previousReleasePath ]; then basename `readlink $previousReleasePath` ; fi", $node, $deployment) ?? '');
}
Expand All @@ -55,7 +55,7 @@ function findPreviousReleaseIdentifier(Deployment $deployment, Node $node, Appli
*/
function findCurrentReleaseIdentifier(Deployment $deployment, Node $node, Application $application, ShellCommandService $shell): string
{
$currentReleasePath = $node->getReleasesPath().'/current';
$currentReleasePath = $node->getReleasesPath() . '/current';

return trim($shell->execute("if [ -h $currentReleasePath ]; then basename `readlink $currentReleasePath` ; fi", $node, $deployment));
}
Expand Down

0 comments on commit f65d888

Please sign in to comment.