Paths can be displayed as strings.

This commit is contained in:
Andrés N. Robalino
2019-09-10 05:28:15 -05:00
parent f61144006f
commit 11ef007491
2 changed files with 2 additions and 1 deletions

View File

@ -127,7 +127,7 @@ pub fn config(
let path = config::default_path_for(&configuration)?;
return Ok(stream![Tagged::from_simple_spanned_item(
Value::string(path.to_string_lossy()),
Value::Primitive(Primitive::Path(path)),
span
)]
.from_input_stream());