Skip to content

Commit 6bcb5a3

Browse files
Invery condition
1 parent a297647 commit 6bcb5a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ impl Loader {
342342

343343
Self::load_globals_from_config_str(&config, &mut globals)?;
344344

345-
if globals.get(&FILE_PATH_VAR.into()).is_some() {
345+
if globals.get(&FILE_PATH_VAR.into()).is_none() {
346346
globals
347347
.add(FILE_PATH_VAR.into(), BUILTINS_FILENAME.into())
348348
.expect("failed to add file path variable");

0 commit comments

Comments
 (0)