Skip to content

Commit db3f153

Browse files
author
John Smith III
committed
Fixed: Initialization of config uses old config for new settings file
1 parent 0a24206 commit db3f153

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1313

1414
### Fixed
1515

16-
- Not showing version info when displaying configuration
1716
- URL validation failing
17+
- Initialization of config uses old config for new settings file
18+
- Not showing version info when displaying configuration
1819

1920
## [1.1.1] - 2024-11-26
2021

noirwatch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1068,7 +1068,7 @@ process_arguments() {
10681068
[[ "$SHOW_HELP" = true ]] && show_help
10691069

10701070
# Override config settings with command line options
1071-
load_config "$CONFIG_FILE"
1071+
[[ "$INIT" = false ]] && load_config "$CONFIG_FILE"
10721072
[[ -n "$CLI_VERBOSE" ]] && VERBOSE="$CLI_VERBOSE"
10731073
[[ -n "$CLI_CACHE_DIR" ]] && CACHE_DIR="$CLI_CACHE_DIR"
10741074

0 commit comments

Comments
 (0)