forked from platformio/platformio-core
Do not warn about "custom_" options in configuration file
This commit is contained in:
@ -227,7 +227,7 @@ class EnvironmentProcessor(object):
|
|||||||
v = self.RENAMED_PLATFORMS[v]
|
v = self.RENAMED_PLATFORMS[v]
|
||||||
|
|
||||||
# warn about unknown options
|
# warn about unknown options
|
||||||
if k not in self.KNOWN_OPTIONS:
|
if k not in self.KNOWN_OPTIONS and not k.startswith("custom_"):
|
||||||
click.secho(
|
click.secho(
|
||||||
"Detected non-PlatformIO `%s` option in `[env:%s]` section"
|
"Detected non-PlatformIO `%s` option in `[env:%s]` section"
|
||||||
% (k, self.name),
|
% (k, self.name),
|
||||||
|
Reference in New Issue
Block a user