update to 2.0.0-b8 version

fix environment conflict and remove custom commands
This commit is contained in:
jerry
2020-12-20 18:49:03 +08:00
parent 42d9c97711
commit bc0bb9b6b0
4 changed files with 21 additions and 36 deletions

View File

@@ -7,7 +7,6 @@ use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputOption;
use Symfony\Component\Console\Output\OutputInterface;
use ZM\Config\ZMConfig;
use ZM\Framework;
class RunServerCommand extends Command
@@ -42,7 +41,6 @@ class RunServerCommand extends Command
$output->writeln("<error> \"--env\" option only accept production, development, staging and [empty] ! </error>");
return Command::FAILURE;
}
ZMConfig::setEnv($opt);
}
// ... put here the code to run in your command
// this method must return an integer number with the "exit status code"