Skip to content

Commit 66750f8

Browse files
committed
Upper case basePath from YAML file to match naming conventions
1 parent 3af6fcf commit 66750f8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

update.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@
2525

2626
// assume it has changed and run Generator
2727
$yaml = \Symfony\Component\Yaml\Yaml::parseFile($file);
28+
$baseVersion = strtoupper($yaml['basePath']);
2829
$generator = new \Tool\Generator();
29-
$generator->deleteClasses($yaml['basePath']);
30-
$generator->makeClasses($yaml['basePath'], $yaml['paths']);
30+
$generator->deleteClasses($baseVersion);
31+
$generator->makeClasses($baseVersion, $yaml['paths']);
3132
$generator->deleteDefinitions();
3233
$generator->makeDefinitions($yaml['definitions']);
3334

0 commit comments

Comments
 (0)