Skip to content

Commit c3be03f

Browse files
committed
chore: minor cleanup
1 parent cdeabb2 commit c3be03f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

scripts/clone-repo.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,6 @@ if [[ "$ownerOfRepo" != "true" && "$fork_on_clone" == "1" ]]; then
6666
# switch to new branch
6767
if [[ -n "$working_branch" ]]; then
6868
git config push.autoSetupRemote true
69-
git checkout -b "$working_branch"
69+
git switch --create "$working_branch"
7070
fi
7171
fi

scripts/github-notifications.js

-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ function humanRelativeDate(isoDateStr) {
5454
}
5555
const formatter = new Intl.RelativeTimeFormat("en", { style: "long", numeric: "auto" });
5656
const str = formatter.format(-delta, unit);
57-
// biome-ignore lint/nursery/useTopLevelRegex: <explanation>
5857
return str.replace(/m(?= ago$)/, "min"); // "m" -> "min" (more distinguishable from "month")
5958
}
6059

0 commit comments

Comments
 (0)