~repos /website
git clone https://pyrossh.dev/repos/website.git
木 Personal website of pyrossh. Built with astrojs, shiki, vite.
0ce31957
—
pyrossh 1 week ago
fix commits
- src/utils/commit.ts +1 -1
src/utils/commit.ts
CHANGED
|
@@ -22,7 +22,7 @@ export const collectCommits = (item: { hash: any; message: any; body: any; autho
|
|
|
22
22
|
author_name: item.author_name,
|
|
23
23
|
author_email: item.author_email,
|
|
24
24
|
date: item.date,
|
|
25
|
-
branches: item.refs.split(",").filter((ref: string) => ref.includes("origin
|
|
25
|
+
branches: item.refs.split(",").filter((ref: string) => !ref.includes("origin")).map((ref) => ref.trim()),
|
|
26
26
|
tags: item.refs.split(",").filter((ref: string) => ref.includes("tag: ")).map((ref) => ref.replace("tag: ", "")),
|
|
27
27
|
});
|
|
28
28
|
|