Commit 34742d0 1 parent eeb367d commit 34742d0 Copy full SHA for 34742d0
File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -79,8 +79,7 @@ Open a pull request against the main
79
79
repo.
80
80
81
81
> ** Note**
82
- > It is recommended to run [ pre-commit script] ( scripts/precommit.sh ) from the root of
83
- the repo to catch any issues locally.
82
+ > It is recommended to run [ pre-commit script] ( scripts/precommit.sh ) to catch any issues locally.
84
83
85
84
### How to Receive Comments
86
85
Original file line number Diff line number Diff line change 1
- cargo update && cargo fmt --all && ./scripts/lint.sh && ./scripts/test.sh
1
+ REPO_ROOT=$( dirname $( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd ) )
2
+
3
+ pushd " ${REPO_ROOT} " > /dev/null
4
+
5
+ cargo update && cargo fmt --all && ./scripts/lint.sh && ./scripts/test.sh
6
+
7
+ popd > /dev/null
You can’t perform that action at this time.
0 commit comments