mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-11-23 12:46:43 +00:00
* fix: the path to join is shadowed by a local variable * fix: redact target uri
This commit is contained in:
parent
cb51d67e7d
commit
9904189910
7 changed files with 49 additions and 2 deletions
|
|
@ -344,6 +344,7 @@ pub static REDACT_LOC: Lazy<RedactFields> = Lazy::new(|| {
|
|||
"targetRange",
|
||||
"targetSelectionRange",
|
||||
"originSelectionRange",
|
||||
"target",
|
||||
"targetUri",
|
||||
])
|
||||
});
|
||||
|
|
@ -416,7 +417,7 @@ impl Redact for RedactFields {
|
|||
),
|
||||
);
|
||||
}
|
||||
"uri" | "oldUri" | "newUri" | "targetUri" => {
|
||||
"uri" | "target" | "oldUri" | "newUri" | "targetUri" => {
|
||||
map.insert(key.to_owned(), file_name(t.as_str().unwrap()).into());
|
||||
}
|
||||
"range"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue