Skip to content

Commit

Permalink
[Github Action] Format code at ./astro
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Apr 15, 2024
1 parent 4904e1a commit 58fc696
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
4 changes: 2 additions & 2 deletions astro/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion astro/src/env/envs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ export const qaurl = baseurl + "qa/"
export const changeurl = baseurl + "changelog/"
export const policyurl = baseurl + "privacypolicy/"
export const featureurl = baseurl + "feature/"
export const pagesPrefix = "posts"
export const pagesPrefix = "posts"
2 changes: 1 addition & 1 deletion astro/src/env/vars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export const githuburl = "https://github.com/nkte8/skyshare"
export const zennprofile = "https://zenn.dev/nkte8"
export const zennurl = "https://zenn.dev/nkte8/articles/2024-02-03-r01"
export const servicename = "Skyshare"
export const servicedesc = `${servicename} is a web application helps bluesky users post to both bluesky or x.com.`;
export const servicedesc = `${servicename} is a web application helps bluesky users post to both bluesky or x.com.`
export const authorlink = "https://bsky.app/profile/nekono.dev"
export const authorname = "@nekono.dev"
export const authormail = "mail@nekono.dev"
4 changes: 3 additions & 1 deletion astro/src/lib/pagedbAPI/getIds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ export const api = async ({
},
})
.then(async response => {
const responseParsed = ZodIdsFetchOutput.safeParse(await response.json())
const responseParsed = ZodIdsFetchOutput.safeParse(
await response.json(),
)

if (!responseParsed.success) {
const e: Error = new Error(
Expand Down
4 changes: 3 additions & 1 deletion astro/src/lib/pagedbAPI/getPage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ export const api = async ({
},
})
.then(async response => {
const responseParsed = ZodPageFetchOutput.safeParse(await response.json())
const responseParsed = ZodPageFetchOutput.safeParse(
await response.json(),
)

if (!responseParsed.success) {
const e: Error = new Error(
Expand Down

0 comments on commit 58fc696

Please sign in to comment.