Skip to content

Commit 7f75780

Browse files
committed
Fix copy-pasta.
1 parent 1c3a27e commit 7f75780

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)