Skip to content

Commit

Permalink
fix: use in_state_dir to match logs directory
Browse files Browse the repository at this point in the history
  • Loading branch information
kalvinnchau committed Feb 19, 2025
1 parent 623f68a commit 83fe98d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/goose-cli/src/commands/info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ fn print_aligned(label: &str, value: &str, width: usize) {

pub fn handle_info(verbose: bool) -> Result<()> {
let data_dir = choose_app_strategy(crate::APP_STRATEGY.clone())?;
let logs_dir = data_dir.in_data_dir("logs");
let logs_dir = data_dir.in_state_dir("logs");
let sessions_dir = data_dir.in_data_dir("sessions");

// Get paths using a stored reference to the global config
Expand Down

0 comments on commit 83fe98d

Please sign in to comment.