We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48e118e commit cfa16b6Copy full SHA for cfa16b6
tools/dep_updaters/update-test426-fixtures.sh
@@ -16,7 +16,8 @@ rsync -a --delete "$TMP_DIR"/source-map-tests-"$SHA"/ "$TARGET_DIR"/
16
17
rm -rf "$TMP_DIR"
18
19
-sed -i.bak "s#https://github.com/tc39/source-map-tests/commit/[0-9a-f]*#https://github.com/tc39/source-map-tests/commit/$SHA#" "$README"
20
-rm "$README.bak"
+TMP_FILE=$(mktemp)
+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"
21
+mv "$TMP_FILE" "$README"
22
23
echo "test426 fixtures updated to $SHA."
0 commit comments