Skip to content

Commit

Permalink
json_selection: fix pretty print duplicate $
Browse files Browse the repository at this point in the history
  • Loading branch information
nicholascioli committed May 24, 2024
1 parent 08eeab0 commit 3c03b53
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ impl PathSelection {
match self {
PathSelection::Var(var, path) => {
let rest = path.pretty_print(indentation)?;
write!(result, "${var}{rest}")?;
write!(result, "{var}{rest}")?;
}
PathSelection::Key(key, path) => {
let rest = path.pretty_print(indentation)?;
Expand Down

0 comments on commit 3c03b53

Please sign in to comment.