mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-08-29 18:48:56 +02:00
[Scrutinizer] Fix Major issues
This commit is contained in:
@@ -59,11 +59,11 @@ abstract class AbstractFileTask extends AbstractTask
|
||||
'%environment%' => $this->runtime->getEnvironment(),
|
||||
];
|
||||
|
||||
if ($this->runtime->getWorkingHost()) {
|
||||
if ($this->runtime->getWorkingHost() !== null) {
|
||||
$mapping['%host%'] = $this->runtime->getWorkingHost();
|
||||
}
|
||||
|
||||
if ($this->runtime->getReleaseId()) {
|
||||
if ($this->runtime->getReleaseId() !== null) {
|
||||
$mapping['%release%'] = $this->runtime->getReleaseId();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user