Skip to content

Commit

Permalink
Removed check for Withdrawn reason
Browse files Browse the repository at this point in the history
  • Loading branch information
aixaCode committed Nov 28, 2024
1 parent f97e998 commit 50bd602
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions .site-generator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,4 @@ function checkAdrStatus(page) {
page.matterfront.adr +
" is marked as `Deprecated` but has no `deprecated-reason`"
)

if (page.matterfront.status === "Withdrawn" && !page.matterfront["withdrawal-reason"])
throw new Error(
"ADR-" +
page.matterfront.adr +
" is marked as `Withdrawn` but has no `withdrawal-reason`"
)
}

0 comments on commit 50bd602

Please sign in to comment.