Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

Commit 91093bd

Browse files
committed
[vscode] Ignore the noexists directory.
Signed-off-by: corvofeng <corvofeng@gmail.com>
1 parent 2318e21 commit 91093bd

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

vscode_projects/__init__.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ def get_vscode_project(storage_json):
4242
title = os.path.basename(uri)
4343
if uri.startswith("vscode-remote://"):
4444
title = "remote: {}".format(title)
45+
else:
46+
if not os.path.isdir(title):
47+
continue
4548
result.append({
4649
'title': title,
4750
'paths': [uri],
@@ -90,4 +93,4 @@ def main():
9093

9194

9295
if __name__ == "__main__":
93-
main()
96+
main()

0 commit comments

Comments
 (0)