File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ public function __construct(array $options = [])
56
56
57
57
public function build ()
58
58
{
59
- if ($ this ->options ->offsetExists ('directory ' )) {
59
+ if ($ this ->options ->offsetExists ('directory ' ) && $ this -> options -> get ( ' directory ' ) !== null ) {
60
60
$ this ->path ->setRootPath ($ this ->options ->get ('directory ' ));
61
61
}
62
62
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ public function __construct(array $options = [])
58
58
*/
59
59
public function build ()
60
60
{
61
- if ($ this ->options ->offsetExists ('directory ' )) {
61
+ if ($ this ->options ->offsetExists ('directory ' ) && $ this -> options -> get ( ' directory ' ) !== null ) {
62
62
$ this ->path ->setRootPath ($ this ->options ->get ('directory ' ));
63
63
}
64
64
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ public function build()
74
74
. 'templates ' . DIRECTORY_SEPARATOR . 'module ' ;
75
75
}
76
76
77
- if ($ this ->options ->offsetExists ('directory ' )) {
77
+ if ($ this ->options ->offsetExists ('directory ' ) && $ this -> options -> get ( ' directory ' ) !== null ) {
78
78
$ this ->path ->setRootPath ($ this ->options ->get ('directory ' ));
79
79
}
80
80
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ class Project extends Component
66
66
*/
67
67
public function build ()
68
68
{
69
- if ($ this ->options ->offsetExists ('directory ' )) {
69
+ if ($ this ->options ->offsetExists ('directory ' ) && $ this -> options -> get ( ' directory ' ) !== null ) {
70
70
$ this ->path ->setRootPath ($ this ->options ->get ('directory ' ));
71
71
}
72
72
You can’t perform that action at this time.
0 commit comments