Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
natemoo-re authored and astrobot-houston committed Feb 16, 2023
1 parent dbffee4 commit f9fdf98
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/astro-rss/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,13 +93,13 @@ async function validateRssOptions(rssOptions: RSSOptions) {
return parsedResult.data;
}
const formattedError = new Error(
[
`[RSS] Invalid or missing options:`,
...parsedResult.error.errors.map(
zodError => `${zodError.message} (${zodError.path.join('.')})`
),
].join('\n')
)
[
`[RSS] Invalid or missing options:`,
...parsedResult.error.errors.map(
(zodError) => `${zodError.message} (${zodError.path.join('.')})`
),
].join('\n')
);
throw formattedError;
}

Expand Down

0 comments on commit f9fdf98

Please sign in to comment.