We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77b0ee0 commit 5165a28Copy full SHA for 5165a28
contracts/scripts/docPreprocess.sh
@@ -6,9 +6,9 @@ SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"
6
# Known issue: https://github.com/foundry-rs/foundry/issues/4118
7
for tag in authors reviewers auditors bounties deployments tools
8
do
9
- find $SCRIPT_DIR/../src/ -type f -name '*.sol' | xargs sed -i '' "/^.*@$tag.*$/d"
+ find $SCRIPT_DIR/../src/ -type f -name '*.sol' | xargs sed -i.bak "/^.*@$tag.*$/d"
10
done
11
12
-echo "Use 'git restore src/' to revert the changes"
+echo "Use 'git restore src/ && rm src/**/*.sol.bak' to revert the changes"
13
14
0 commit comments