From 060592679b73ff23e1063f49488865041b257278 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Tue, 06 Jul 2021 06:17:28 +0000 Subject: [PATCH] fix: do not force format in --exec --- --- a/cmds/jrsonnet/src/main.rs +++ b/cmds/jrsonnet/src/main.rs @@ -1,6 +1,6 @@ use clap::{AppSettings, Clap, IntoApp}; use jrsonnet_cli::{ConfigureState, GcOpts, GeneralOpts, InputOpts, ManifestOpts, OutputOpts}; -use jrsonnet_evaluator::{error::LocError, EvaluationState, ManifestFormat}; +use jrsonnet_evaluator::{error::LocError, EvaluationState}; use std::{ fs::{create_dir_all, File}, io::Read, @@ -135,7 +135,6 @@ opts.manifest.configure(&state)?; let val = if opts.input.exec { - state.set_manifest_format(ManifestFormat::ToString); state.evaluate_snippet_raw( PathBuf::from("args").into(), (&opts.input.input as &str).into(), -- gitstuff