Remove perf flag to streamline logging configuration (#6834)

This commit is contained in:
Reilly Wood
2022-10-21 08:20:21 -07:00
committed by GitHub
parent c6436eb32f
commit 76ccd5668a
7 changed files with 79 additions and 218 deletions

View File

@ -19,7 +19,6 @@ pub fn evaluate_file(
engine_state: &mut EngineState,
stack: &mut Stack,
input: PipelineData,
is_perf_true: bool,
) -> Result<()> {
// Translate environment variables from Strings to Values
if let Some(e) = convert_env_values(engine_state, stack) {
@ -54,9 +53,7 @@ pub fn evaluate_file(
std::process::exit(1);
}
if is_perf_true {
info!("evaluate {}:{}:{}", file!(), line!(), column!());
}
info!("evaluate {}:{}:{}", file!(), line!(), column!());
Ok(())
}