File tree Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Expand file tree Collapse file tree 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -14,5 +14,6 @@ composer.lock
1414* .swo
1515* .zip
1616* .phar
17+ * .cache
1718.DS_Store
1819.interactive_history
Original file line number Diff line number Diff line change 11# CHANGELOG
22
3+ ## v2.4.1 - v2.4.3
4+
5+ > publish at: 2019.03.29
6+
7+ - fix: no add error handle before use
8+ - fix some bugs
9+ - update some
10+
311## v2.4.0
412
513> publish at: 2018.07.03
Original file line number Diff line number Diff line change @@ -126,6 +126,10 @@ protected function init()
126126 'endMemory ' => 0 ,
127127 ];
128128
129+ if (!$ this ->errorHandler ) {
130+ $ this ->errorHandler = new ErrorHandler ();
131+ }
132+
129133 $ this ->commandName = $ this ->input ->getCommand ();
130134
131135 $ this ->registerErrorHandle ();
@@ -145,10 +149,6 @@ public static function getInternalOptions(): array
145149
146150 protected function prepareRun ()
147151 {
148- if (!$ this ->errorHandler ) {
149- $ this ->errorHandler = new ErrorHandler ();
150- }
151-
152152 // date_default_timezone_set($this->config('timeZone', 'UTC'));
153153 //new AutoCompletion(array_merge($this->getCommandNames(), $this->getControllerNames()));
154154 }
You can’t perform that action at this time.
0 commit comments