Skip to content

Commit 0b42fd6

Browse files
author
chadcarlson
committed
Remove guard on variables() method.
1 parent 349e08c commit 0b42fd6

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/platformsh.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,9 +298,6 @@ class Config {
298298
* The full variables definition.
299299
*/
300300
variables() {
301-
if (!this.variablesDef) {
302-
throw new NotValidPlatformError('No variables are defined. Are you sure you are running on Platform.sh?');
303-
}
304301

305302
return this.variablesDef;
306303
}

0 commit comments

Comments
 (0)