Commit 4488f10
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]>1 parent de48fd6 commit 4488f10
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments