From fe6f51369eef95a0d8ffd57cce41b8acd23c46cb Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Sun, 10 Apr 2022 13:56:44 +0300 Subject: [PATCH] Autoinstall dev-platform for the "clean" target --- platformio/commands/run/processor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platformio/commands/run/processor.py b/platformio/commands/run/processor.py index 7f2033a7..4c0b92fe 100644 --- a/platformio/commands/run/processor.py +++ b/platformio/commands/run/processor.py @@ -71,7 +71,7 @@ class EnvironmentProcessor(object): {"project_targets": build_targets}, ) - result = PlatformFactory.new(self.options["platform"]).run( + result = PlatformFactory.new(self.options["platform"], autoinstall=True).run( build_vars, build_targets, self.silent, self.verbose, self.jobs ) return result["returncode"] == 0