diff options
author | Bernardo <[email protected]> | 2019-01-23 17:42:26 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2019-01-26 08:46:37 +0000 |
commit | 34a34f9399015bbd351113675928295f42f74369 (patch) | |
tree | 74bb860676df3e598b5273b09cbc17783aa89975 /crates/ra_vfs/src | |
parent | be14ab217ce29542a8b2c84282e822adcc69646c (diff) |
use released `notifiy` version, add TODO comment
Diffstat (limited to 'crates/ra_vfs/src')
-rw-r--r-- | crates/ra_vfs/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_vfs/src/lib.rs b/crates/ra_vfs/src/lib.rs index 4f3896a82..bcff7928b 100644 --- a/crates/ra_vfs/src/lib.rs +++ b/crates/ra_vfs/src/lib.rs | |||
@@ -61,7 +61,7 @@ pub(crate) fn default_filter(path: &Path, rel_path: &RelativePath) -> bool { | |||
61 | if path.is_dir() { | 61 | if path.is_dir() { |
62 | for (i, c) in rel_path.components().enumerate() { | 62 | for (i, c) in rel_path.components().enumerate() { |
63 | if let Component::Normal(c) = c { | 63 | if let Component::Normal(c) = c { |
64 | // hardcoded for now | 64 | // TODO hardcoded for now |
65 | if (i == 0 && c == "target") || c == ".git" || c == "node_modules" { | 65 | if (i == 0 && c == "target") || c == ".git" || c == "node_modules" { |
66 | return false; | 66 | return false; |
67 | } | 67 | } |