Skip to content

Commit 204ce81

Browse files
authored
Kitdiff setup: Rename paths to examples (#206)
1 parent 9acdc81 commit 204ce81

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/accept_snapshots.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
set -eu
66

77
# rename the .new.png files to .png
8-
find . -type d -path "*/tests/snapshots*" | while read dir; do
8+
find . -type d -path "./examples/*" | while read dir; do
99
find "$dir" -type f -name "*.new.png" | while read file; do
1010
mv -f "$file" "${file%.new.png}.png"
1111
done

scripts/update_snapshots_from_ci.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ else
1616
fi
1717

1818
# remove any existing .new.png that might have been left behind
19-
find . -type d -path "*/tests/snapshots*" | while read dir; do
19+
find . -type d -path "./examples/*" | while read dir; do
2020
find "$dir" -type f -name "*.new.png" | while read file; do
2121
rm "$file"
2222
done

0 commit comments

Comments
 (0)