We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e29109d commit 2dfbe4cCopy full SHA for 2dfbe4c
mbed/mbed.py
@@ -1219,7 +1219,7 @@ def get_env(self):
1219
def post_action(self):
1220
mbed_tools_path = self.get_tools_dir()
1221
1222
- if not mbed_tools_path and self.is_classic:
+ if not mbed_tools_path and (self.is_classic or os.path.exists(os.path.join(self.path, Cfg.file))):
1223
self.add_tools(os.path.join(self.path, '.temp'))
1224
1225
0 commit comments