Upgrade parser
This commit is contained in:
@ -2,7 +2,7 @@ use anyhow::{Context, Result};
|
||||
use serde::Deserialize;
|
||||
use std::io::Write;
|
||||
use std::{collections::HashMap, path::Path};
|
||||
use tracing::{error, trace, warn};
|
||||
use tracing::{debug, error, trace, warn};
|
||||
|
||||
use crate::manifest::PickConfig;
|
||||
|
||||
@ -31,7 +31,7 @@ impl PickTool for ToolBash {
|
||||
}
|
||||
|
||||
Some(script) => {
|
||||
trace!("Running `before` script");
|
||||
debug!("Running `before` script");
|
||||
let mut temp_file =
|
||||
tempfile::NamedTempFile::new().context("while creating temporary script")?;
|
||||
writeln!(temp_file, "{}", script).context("while creating temporary script")?;
|
||||
@ -79,7 +79,7 @@ impl PickTool for ToolBash {
|
||||
}
|
||||
|
||||
Some(script) => {
|
||||
trace!("Running `after` script");
|
||||
debug!("Running `after` script");
|
||||
let mut temp_file =
|
||||
tempfile::NamedTempFile::new().context("while creating temporary script")?;
|
||||
writeln!(temp_file, "{}", script).context("while creating temporary script")?;
|
||||
|
Reference in New Issue
Block a user