Skip to content

Commit 6bb2507

Browse files
committed
fix(run): keep json auth output clean
1 parent 7954d02 commit 6bb2507

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/cortex-cli/src/agent_cmd/tests.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
#[cfg(test)]
44
mod tests {
55
use crate::agent_cmd::cli::{CopyArgs, ExportArgs};
6-
use crate::agent_cmd::loader::{
7-
load_builtin_agents, parse_frontmatter, read_file_with_encoding,
8-
};
6+
use crate::agent_cmd::loader::{load_builtin_agents, parse_frontmatter};
97
use crate::agent_cmd::types::AgentMode;
8+
use crate::utils::file::read_file_with_encoding;
109

1110
#[test]
1211
fn test_read_file_with_utf8() {

src/cortex-cli/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ async fn main() -> Result<()> {
177177
};
178178

179179
tracing_subscriber::fmt()
180+
.with_writer(std::io::stderr)
180181
.with_env_filter(&filter_str)
181182
.init();
182183
}

0 commit comments

Comments
 (0)