mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 17:14:20 +01:00
cli: fix not being able to redirect traces to a file from inline query
This commit is contained in:
@@ -26,8 +26,7 @@ pub static HOME_DIR: LazyLock<PathBuf> =
|
||||
pub static HISTORY_FILE: LazyLock<PathBuf> = LazyLock::new(|| HOME_DIR.join(".limbo_history"));
|
||||
|
||||
fn main() -> anyhow::Result<()> {
|
||||
let mut app = app::Limbo::new()?;
|
||||
let _guard = app.init_tracing()?;
|
||||
let (mut app, _guard) = app::Limbo::new()?;
|
||||
|
||||
if std::io::IsTerminal::is_terminal(&std::io::stdin()) {
|
||||
let mut rl = Editor::with_config(rustyline_config())?;
|
||||
|
||||
Reference in New Issue
Block a user