mirror of
https://github.com/platformio/platformio-core.git
synced 2025-07-30 18:17:13 +02:00
Update platform command
This commit is contained in:
@ -118,7 +118,7 @@ class MeasurementProtocol(TelemetryBase):
|
|||||||
args = [str(s).lower() for s in ctx_args if not str(s).startswith("-")]
|
args = [str(s).lower() for s in ctx_args if not str(s).startswith("-")]
|
||||||
if not args:
|
if not args:
|
||||||
return
|
return
|
||||||
if args[0] in ("lib", "platforms", "serialports", "settings"):
|
if args[0] in ("lib", "platform", "serialports", "settings"):
|
||||||
cmd_path = args[:2]
|
cmd_path = args[:2]
|
||||||
else:
|
else:
|
||||||
cmd_path = args[:1]
|
cmd_path = args[:1]
|
||||||
|
Reference in New Issue
Block a user