dev: disable all runtime check to log::debug! (#912)

This commit is contained in:
Myriad-Dreamin 2024-11-29 19:52:42 +08:00 committed by GitHub
parent 8b495fe2ab
commit ed79045588
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
33 changed files with 158 additions and 159 deletions

View file

@ -150,7 +150,7 @@ impl StatefulRequest for CompletionRequest {
let ty_chk = ctx.type_check(&source);
let ty = ty_chk.type_of_span(cano_expr.span());
log::debug!("check string ty: {ty:?}");
crate::log_debug_ct!("check string ty: {ty:?}");
if let Some(Ty::Builtin(BuiltinTy::Path(path_filter))) = ty {
completion_result =
complete_path(ctx, Some(cano_expr), &source, cursor, &path_filter);