forked from platformio/platformio-core
Run config option validation even in raw mode
This commit is contained in:
1 parent
1174958e8b
commit
8c8a94fc71
3 files changed
+10
-11
No files matched your search
@@ -107,6 +107,9 @@ def expand_dir_templates(path):
|
||||
def validate_dir(path):
|
||||
if not path:
|
||||
return path
|
||||
# if not all values expanded, ignore validation
|
||||
if "${" in path and "}" in path:
|
||||
return path
|
||||
if path.startswith("~"):
|
||||
path = fs.expanduser(path)
|
||||
if "$" in path:
|
||||
|
||||
Reference in new issue
Block a user