Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit a297647

Browse files
Invert condition
1 parent ba1d3cd commit a297647

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tree-sitter-stack-graphs/src/loader.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ impl LanguageConfiguration {
8383
Loader::load_globals_from_config_str(builtins_config, &mut builtins_globals)?;
8484
}
8585

86-
if builtins_globals.get(&FILE_PATH_VAR.into()).is_some() {
86+
if builtins_globals.get(&FILE_PATH_VAR.into()).is_none() {
8787
builtins_globals
8888
.add(FILE_PATH_VAR.into(), BUILTINS_FILENAME.into())
8989
.expect("failed to add file path variable");

0 commit comments

Comments
 (0)