Skip to content

Commit e0ed815

Browse files
committed
fix: change var to const for time variable in lastEdit function
1 parent 0ae189a commit e0ed815

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/github.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export async function latestVersion(repo: string) {
2727
}
2828

2929
export async function lastEdit(page: Page): Promise<Date> {
30-
var time = await getGithubLastEdit({
30+
const time = await getGithubLastEdit({
3131
owner: "TheNextLvl-net",
3232
repo: "docs",
3333
token: process.env.GITHUB_TOKEN,

0 commit comments

Comments
 (0)