mirror of
https://github.com/RustyRaptor/brackets.git
synced 2026-12-04 00:15:22 -07:00
fix error when checking for exclusions
This commit is contained in:
1 parent
c8707938d6
commit
239d003223
1 file changed
+1
-5
@@ -214,11 +214,7 @@ define(function (require, exports, module) {
|
||||
}
|
||||
|
||||
var excludes = preferences.getExcludedFiles();
|
||||
if (!excludes) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (excludes.test(file.name)) {
|
||||
if (excludes && excludes.test(file.name)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user