Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
"…"
→$'…'
for escaping, and restyle code
This change addresses [the code review](https://github.com/nickel-lang/organist/pull/222/files/c4cfe488040f5630dfe78104f5648d506e9d334b): - Use `$'…'` (dollar-sign with *single*-quotes) instead of `"…"` (*double*-quotes) for escape shell argument (`file.target`) in `regenerate_one`, to handle paths with characters such as `"`, `'`, `*`, `\`, `\n` (newline), `\t` (tab), `$`. - Rename `NoTraveral` to `NoParentTraveral` for more accurate naming. - Rewrite implementations of contracts `RelativePath` and `NoParentTraveral` in idiomatic nickel.
- Loading branch information