Skip to content

Commit 4b97e4e

Browse files
committed
Skip hidden folders when listing packages
1 parent e30b41d commit 4b97e4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package_control/package_manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ def list_packages(self, unpacked_only=False):
292292
"""
293293

294294
package_names = os.listdir(sublime.packages_path())
295-
package_names = [path for path in package_names if
295+
package_names = [path for path in package_names if path[0] != '.' and
296296
os.path.isdir(os.path.join(sublime.packages_path(), path))]
297297

298298
if int(sublime.version()) > 3000 and unpacked_only == False:

0 commit comments

Comments
 (0)