[ci] format
This commit is contained in:
parent
dbffee4e38
commit
f9fdf984f1
1 changed files with 7 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue