updated dependencies (#2857)

Same as #2786

Co-authored-by: sousajo <sousajo@pop-os.localdomain>
Co-authored-by: Jonathan Turner <jonathandturner@users.noreply.github.com>
This commit is contained in:
sousajf1
2021-01-07 00:38:22 +00:00
committed by GitHub
parent 455915ec9e
commit f38e2b5c6d
13 changed files with 303 additions and 556 deletions

View File

@ -120,7 +120,7 @@ pub fn view_text_value(value: &Value) {
Some(file_path) => {
// Let bat do it's thing
bat::PrettyPrinter::new()
.input_from_bytes_with_name(s.as_bytes(), file_path)
.input(bat::Input::from_bytes(s.as_bytes()).name(file_path))
.term_width(term_width as usize)
.tab_width(Some(tab_width as usize))
.colored_output(colored_output)