Skip to content

Commit

Permalink
Merge pull request #293 from natechicago/292-bugfix
Browse files Browse the repository at this point in the history
292: Notification email reports SUCCESS even if deployment failed
  • Loading branch information
andres-montanez committed Jan 2, 2017
2 parents 35d61cc + 66220d0 commit 62c575f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Mage/Command/BuiltIn/DeployCommand.php
Expand Up @@ -215,7 +215,7 @@ public function run()
Console::output('Total time: <bold>' . $timeText . '</bold>.', 1, 2);

// Send Notifications
$this->sendNotification(self::$failedTasks > 0 ? false : true);
$this->sendNotification(self::$deployStatus === self::SUCCEDED);

// Unlock
if (file_exists(getcwd() . '/.mage/~working.lock')) {
Expand Down

0 comments on commit 62c575f

Please sign in to comment.