Commit d223920
Remove static caching from \DrupalCodeGenerator\Utils::getExtensionRoot
This static variable doesn't buy us much and it actively harms when passing --directory in a `drush generate` command. This method gets called with multiple values in a Drush request. In this case, the first call determines the return value forever.1 parent f118cad commit d223920
1 file changed
+7
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
157 | 153 | | |
| 154 | + | |
158 | 155 | | |
159 | 156 | | |
160 | 157 | | |
| |||
0 commit comments