mirror of
https://github.com/hauke68/Magallanes.git
synced 2026-09-05 00:48:57 +02:00
Boolean and Null should be compared strictly.
This commit is contained in:
@@ -34,7 +34,7 @@ class ListTask extends AbstractTask implements IsReleaseAware
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
if ($this->getConfig()->release('enabled', false) == true) {
|
||||
if ($this->getConfig()->release('enabled', false) === true) {
|
||||
$releasesDirectory = $this->getConfig()->release('directory', 'releases');
|
||||
$symlink = $this->getConfig()->release('symlink', 'current');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user