Skip to content

Commit c4a8224

Browse files
author
Jonathan Visser
committed
Solving linting issues
1 parent 32ff264 commit c4a8224

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/Deployer/Task/Common/DefaultsTaskGlobal.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ public function configure(Configuration $config): void
4444
set('commit_sha', function () {
4545
try {
4646
return $this->releaseInfo->getCommitSha();
47-
}
48-
catch (\Throwable $e) {
47+
} catch (\Throwable $e) {
4948
return '';
5049
}
5150
});

src/Stdlib/ReleaseInfo.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,7 @@ private function branchList(): array
5757

5858
try {
5959
$gitLogOutput = runLocally('git log --merges -n 1');
60-
}
61-
catch (RunException $e) {
60+
} catch (RunException $e) {
6261
}
6362

6463
if (!preg_match(self::MERGE_PATTERN, $gitLogOutput, $matches)) {

0 commit comments

Comments
 (0)