[ci] format

This commit is contained in:
natemoo-re 2023-02-16 21:34:56 +00:00 committed by fredkbot
parent dbffee4e38
commit f9fdf984f1

View file

@ -93,13 +93,13 @@ async function validateRssOptions(rssOptions: RSSOptions) {
return parsedResult.data; return parsedResult.data;
} }
const formattedError = new Error( const formattedError = new Error(
[ [
`[RSS] Invalid or missing options:`, `[RSS] Invalid or missing options:`,
...parsedResult.error.errors.map( ...parsedResult.error.errors.map(
zodError => `${zodError.message} (${zodError.path.join('.')})` (zodError) => `${zodError.message} (${zodError.path.join('.')})`
), ),
].join('\n') ].join('\n')
) );
throw formattedError; throw formattedError;
} }