Skip to content

Commit 8b13d8c

Browse files
authored
fix(ls): validate bool metadata with MetaValue::Bool (VirusTotal#621)
1 parent 6b44755 commit 8b13d8c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ls/src/features/diagnostics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ pub fn compiler_diagnostics(
163163
|meta| {
164164
matches!(
165165
meta.value,
166-
yara_x_parser::ast::MetaValue::Float(_)
166+
yara_x_parser::ast::MetaValue::Bool(_)
167167
)
168168
},
169169
format!(

0 commit comments

Comments
 (0)