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 | |
parent | be14ab217ce29542a8b2c84282e822adcc69646c (diff) |
use released `notifiy` version, add TODO comment
Diffstat (limited to 'crates')
-rw-r--r-- | crates/ra_vfs/Cargo.toml | 3 | ||||
-rw-r--r-- | crates/ra_vfs/src/lib.rs | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/crates/ra_vfs/Cargo.toml b/crates/ra_vfs/Cargo.toml index c7c4769b3..383381d2a 100644 --- a/crates/ra_vfs/Cargo.toml +++ b/crates/ra_vfs/Cargo.toml | |||
@@ -10,8 +10,7 @@ relative-path = "0.4.0" | |||
10 | rustc-hash = "1.0" | 10 | rustc-hash = "1.0" |
11 | crossbeam-channel = "0.3.5" | 11 | crossbeam-channel = "0.3.5" |
12 | log = "0.4.6" | 12 | log = "0.4.6" |
13 | # until https://github.com/passcod/notify/issues/169 is fixed | 13 | notify = "4.0.7" |
14 | notify = { git = "https://github.com/vemoo/notify/", branch = "v4-legacy" } | ||
15 | drop_bomb = "0.1.0" | 14 | drop_bomb = "0.1.0" |
16 | parking_lot = "0.7.0" | 15 | parking_lot = "0.7.0" |
17 | 16 | ||
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 | } |