Skip to content

Commit 1b27302

Browse files
Trottaduh95
andauthored
Update tools/dep_updaters/update-test426-fixtures.sh
Co-authored-by: Antoine du Hamel <[email protected]>
1 parent d9601e6 commit 1b27302

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tools/dep_updaters/update-test426-fixtures.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,8 @@ rm -rf "$TARGET_DIR"
2020
mkdir "$TARGET_DIR"
2121
curl -f "$TARBALL_URL" | tar -xz --strip-components 1 -C "$TARGET_DIR"
2222

23-
rm -rf "$TMP_DIR"
24-
2523
TMP_FILE=$(mktemp)
26-
sed "s#https://github.com/tc39/source-map-tests/commit/[0-9a-f]*#https://github.com/tc39/source-map-tests/commit/$SHA#" "$README" > "$TMP_FILE"
24+
sed "s/$CURRENT_SHA/$SHA/" "$README" > "$TMP_FILE"
2725
mv "$TMP_FILE" "$README"
2826

2927
# The last line of the script should always print the new version,

0 commit comments

Comments
 (0)