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 983f24a commit 0bba268Copy full SHA for 0bba268
gitignore_plugin.py
@@ -44,14 +44,13 @@ def update_file_exclude_patterns():
44
else:
45
file_exclude_patterns.append(path)
46
47
- # Only make changes if anything has actually changed, to avoid spamming the
48
- # sublime console
49
new_files = set(file_exclude_patterns)
50
old_files = set(s.get('file_exclude_patterns', []))
51
new_folders = set(folder_exclude_patterns)
52
old_folders = set(s.get('folder_exclude_patterns', []))
53
54
-
+ # Only make changes if anything has actually changed, to avoid spamming the
+ # sublime console
55
if new_files != old_files or new_folders != old_folders:
56
s.set('file_exclude_patterns', file_exclude_patterns)
57
s.set('folder_exclude_patterns', folder_exclude_patterns)
0 commit comments