Skip to content

Commit

Permalink
chore: lint format
Browse files Browse the repository at this point in the history
  • Loading branch information
MSzalowski committed Jan 27, 2025
1 parent 2d60aa3 commit d6ae8fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion govtool/metadata-validation/src/utils/parseMetadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ export const parseMetadata = (body: Record<string, unknown>) => {

Object.keys(body).forEach((key) => {
if (key === 'references') {
const parsedReferences = (body[key] as Record<string, unknown>[]).map((reference) => parseMetadata(reference));
const parsedReferences = (body[key] as Record<string, unknown>[]).map(
(reference) => parseMetadata(reference),
);
metadata[key] = parsedReferences;
} else {
metadata[key] = getFieldValue(body, key);
Expand Down

0 comments on commit d6ae8fa

Please sign in to comment.