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 651b889 commit 2519968Copy full SHA for 2519968
src/state.rs
@@ -137,12 +137,19 @@ impl ProtoLanguageState {
137
138
// After content is upserted, those imports which couldn't be located
139
// are flagged as import error
140
+ tracing::info!(?ipath, "import path");
141
self.get_tree(uri)
142
.map(|t| t.get_import_paths(content.as_ref()))
143
.unwrap_or_default()
144
.into_iter()
145
.map(ToOwned::to_owned)
- .filter(|import| !ipath.iter().any(|p| p.join(import.as_str()).exists()))
146
+ .filter(|import| {
147
+ tracing::info!(
148
+ %import,
149
+ "trying import",
150
+ );
151
+ !ipath.iter().any(|p| p.join(import.as_str()).exists())
152
+ })
153
.collect()
154
}
155
0 commit comments