Skip to content

Commit

Permalink
chore: nx format:write update dirty files
Browse files Browse the repository at this point in the history
  • Loading branch information
andes-it committed May 15, 2024
1 parent 7eb900c commit 494bfea
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,8 @@ export const formatAmendingRegBody = (
}
}

const isDeleted = newText === '' || newText === null || newText === '<br />'
const isDeleted =
newText === '' || newText === null || newText === '<br />'
const isAddition = oldText === '' || oldText === null

const regNameDisplay =
Expand Down Expand Up @@ -366,7 +367,7 @@ export const formatAmendingBodyWithArticlePrefix = (
([key, impacts]) => {
const impactArray = impacts.map((item, i) =>
formatAmendingRegBody(
(item.type === 'repeal' || draftImpactLength > 1) ? item.name : '',
item.type === 'repeal' || draftImpactLength > 1 ? item.name : '',
item.type === 'repeal',
item.type === 'amend' ? item.diff?.value : undefined,
),
Expand Down

0 comments on commit 494bfea

Please sign in to comment.