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

Commit e69c770

Browse files
authored
spl-token cli - use default config file (#3738)
* add missing load from CONFIG_FILE default path
1 parent 2c28eaa commit e69c770

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

token/cli/src/config.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ impl<'a> Config<'a> {
112112
eprintln!("error: Could not find config file `{}`", config_file);
113113
exit(1);
114114
})
115+
} else if let Some(config_file) = &*solana_cli_config::CONFIG_FILE {
116+
solana_cli_config::Config::load(config_file).unwrap_or_default()
115117
} else {
116118
solana_cli_config::Config::default()
117119
};

0 commit comments

Comments
 (0)