Skip to content

Commit b875252

Browse files
authored
Merge pull request #12 from platformsh/typofix
Fix copy-pasta.
2 parents 1c3a27e + 7f75780 commit b875252

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Config.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ public function routes() : array
297297
if ($this->inBuild()) {
298298
throw new BuildTimeVariableAccessException('Routes are not available during the build phase.');
299299
}
300-
if (empty($this->variablesDef)) {
300+
if (empty($this->routesDef)) {
301301
throw new NotValidPlatformException('No routes are defined. Are you sure you are running on Platform.sh?');
302302
}
303303

0 commit comments

Comments
 (0)