Don't allow underscores in variant names (#9182)

* Don't allow underscores in variant names

* forgot test files

* Update test data
This commit is contained in:
Tony Murray
2018-09-11 19:21:07 -05:00
committed by GitHub
parent 32a7c50189
commit a5f2dc46b5
3 changed files with 37197 additions and 37613 deletions

View File

@@ -98,6 +98,10 @@ if (isset($options['v'])) {
$variant = $options['variant'];
}
if (str_contains($variant, '_')) {
exit("Variant name cannot contain an underscore (_).\n");
}
echo "OS: $target_os\n";
echo "Module(s): $modules_input\n";
if ($variant) {

File diff suppressed because it is too large Load Diff