Skip to content

Commit 725d9c5

Browse files
authored
Merge pull request #7 from platformsh/variable-no-guard
Remove guard on variables() method.
2 parents 08a1253 + 458db15 commit 725d9c5

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)