Skip to content
This repository was archived by the owner on Nov 20, 2024. It is now read-only.

Commit 824d31e

Browse files
deepsource-autofix[bot]DanSnow
authored andcommitted
style: Format code with prettier
1 parent 8c15e3e commit 824d31e

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

packages/karbon/src/modules/feed/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { addServerHandler, createResolver, defineNuxtModule,} from '@nuxt/kit'
1+
import { addServerHandler, createResolver, defineNuxtModule } from '@nuxt/kit'
22
export type ModuleOptions = boolean
33

44
export default defineNuxtModule({

packages/karbon/src/runtime/api/feed.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ const ListArticles = gql`
2323
}
2424
`
2525

26-
27-
export async function listFeedArticles(filter?: { desk: string; tag: string; author: string }) {
26+
export function listFeedArticles(filter?: { desk: string; tag: string; author: string }) {
2827
return getAllWithPagination(ListArticles, filter, ({ articles: { paginatorInfo, data } }) => {
2928
const res = data.map((data: RawArticleLike) => normalizeArticle(data))
3029
return {

packages/karbon/src/runtime/routes/atom.xml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export default defineEventHandler(async (e) => {
2323
},
2424
})
2525

26-
articles.forEach(article => {
26+
articles.forEach((article) => {
2727
const id = encodePath(urls.article.toURL(article, urls.article._context))
2828
feed.addItem({
2929
title: article.title,

0 commit comments

Comments
 (0)