Skip to content

Commit cbdb6bc

Browse files
committed
Support requirements.txt under the tools directory
1 parent 0d2507f commit cbdb6bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mbed/mbed.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,10 +1196,10 @@ def get_requirements(self):
11961196
paths = []
11971197
mbed_os_path = self.get_os_dir()
11981198
if mbed_os_path:
1199+
paths.append([mbed_os_path, 'tools'])
11991200
paths.append([mbed_os_path])
1200-
paths.append([mbed_os_path, 'core'])
12011201
# mbed-os not identified but tools found under cwd/tools
1202-
paths.append([self.path, 'core'])
1202+
paths.append([self.path, 'tools'])
12031203
# mbed Classic deployed tools
12041204
paths.append([self.path, '.temp', 'tools'])
12051205
# current dir

0 commit comments

Comments
 (0)