use -E flag in git grep
All checks were successful
Gentoo Utils / build-oci-image (push) Successful in 17s
Gentoo Utils / grep (push) Successful in 4s
Gentoo Utils / check-format (push) Successful in 25s
Gentoo Utils / docs (push) Successful in 30s
Gentoo Utils / build (push) Successful in 40s
Gentoo Utils / test (push) Successful in 33s
All checks were successful
Gentoo Utils / build-oci-image (push) Successful in 17s
Gentoo Utils / grep (push) Successful in 4s
Gentoo Utils / check-format (push) Successful in 25s
Gentoo Utils / docs (push) Successful in 30s
Gentoo Utils / build (push) Successful in 40s
Gentoo Utils / test (push) Successful in 33s
This commit is contained in:
@@ -165,4 +165,4 @@ jobs:
|
||||
|
||||
- name: grep for patterns
|
||||
run: |
|
||||
git grep 'todo!|dbg!' -- '*.rs' && exit 1 || exit 0
|
||||
git grep -E 'todo!|dbg!' -- '*.rs' && exit 1 || exit 0
|
||||
|
||||
@@ -3,4 +3,4 @@ ninja rustfmt -C build
|
||||
ninja rustdoc -C build
|
||||
ninja clippy -C build
|
||||
ninja test -C build
|
||||
git grep 'todo!|dbg!' -- '*.rs' && exit 1 || exit 0
|
||||
git grep -E 'todo!|dbg!' -- '*.rs' && exit 1 || exit 0
|
||||
|
||||
Reference in New Issue
Block a user