add user data and message to lock command

This commit is contained in:
Rodmen
2014-06-26 11:05:00 -03:00
parent b229e69c45
commit 732cc20f1f
5 changed files with 33 additions and 5 deletions
+1
View File
@@ -104,6 +104,7 @@ class DeployCommand extends AbstractCommand implements RequiresEnvironment
$lockFile = '.mage/' . $this->getConfig()->getEnvironment() . '.lock';
if (file_exists($lockFile)) {
Console::output('<red>This environment is locked!</red>', 1, 2);
echo file_get_contents($lockFile);
return;
}