From 2de0b66e4e45b8f45a0713dbd7da12d57b2cacaf Mon Sep 17 00:00:00 2001 From: Nicole O'Connor Date: Mon, 20 Jan 2025 14:49:17 -0800 Subject: [PATCH] fix config reading errors from not touching this project in a few eons --- src/config/cli_handler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/config/cli_handler.cpp b/src/config/cli_handler.cpp index 38be83b..a49f3cb 100644 --- a/src/config/cli_handler.cpp +++ b/src/config/cli_handler.cpp @@ -5,6 +5,7 @@ #include "bottles.hpp" #include "cellar.hpp" +#include "config.hpp" #include "internal/config.hpp" #include "output.hpp" #include "version.hpp" @@ -68,7 +69,7 @@ void cellar::config::config_command(int argc, vector argv) { } string newvalue = value; - string oldvalue + string oldvalue; if (global) { if (config::global_config.find(key) != config::global_config.end()) { oldvalue = config::global_config[key];