We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1c3a27e + 7f75780 commit b875252Copy full SHA for b875252
1 file changed
src/Config.php
@@ -297,7 +297,7 @@ public function routes() : array
297
if ($this->inBuild()) {
298
throw new BuildTimeVariableAccessException('Routes are not available during the build phase.');
299
}
300
- if (empty($this->variablesDef)) {
+ if (empty($this->routesDef)) {
301
throw new NotValidPlatformException('No routes are defined. Are you sure you are running on Platform.sh?');
302
303
0 commit comments