Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made pre-commit work in sillicon macos and linux
While running the previous version of the precommit I got the following error: ``` Found configured hook: pre-commit Running command: sh pre-commit Fetching advisory database from `https://github.com/RustSec/advisory-db.git` Updating crates.io index Scanning Cargo.lock for vulnerabilities (184 crate dependencies) src/jailer/src/env.rs sed: illegal option -- z usage: sed script [-Ealnru] [-i extension] [file ...] sed [-Ealnu] [-i extension] [-e script] ... [-f script_file] ... [file ...] Configured hook command failed pre-commit hook rejected ``` Tested a couple different things and the `paste` command seemed to work both on macos (M1) and on linux (tested it in an ubuntu:22.04 container). Signed-off-by: seafoodfry <[email protected]>
- Loading branch information