Browse Source

patched for studio, revert https://github.com/RT-Thread/rt-thread/pull/6581

guozhanxin 2 năm trước cách đây
mục cha
commit
b55f1ce99d
1 tập tin đã thay đổi với 0 bổ sung6 xóa
  1. 0 6
      tools/eclipse.py

+ 0 - 6
tools/eclipse.py

@@ -55,12 +55,6 @@ def CollectPaths(paths):
         path = path.replace('\\', '/')
         all_paths = all_paths + [path] + ParentPaths(path)
 
-    cwd = os.getcwd()
-    for path in os.listdir(cwd):
-        temp_path = cwd.replace('\\', '/') + '/' + path
-        if os.path.isdir(temp_path):
-            all_paths = all_paths + [temp_path]
-
     all_paths = list(set(all_paths))
     return sorted(all_paths)