Skip to content

Commit

Permalink
Update common.js.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
APageNHS authored Jan 5, 2024
1 parent c5a7527 commit 8700254
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/common.js.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,9 +297,7 @@ function raiseWarning(issue: OperationOutcomeIssue, failOnWarning:boolean): bool

// COMMENT WAS: TODO this needs to be turned to true 1/8/2022 Warnings not acceptable on NHS Digital resources
// Actual comment is: if error not handled above, return error if FailOnWarning is true
if (failOnWarning == false) {
process.env.SKIPPEDWARNINGS +=1;
}
process.env.SKIPPEDWARNINGS +=1;
return failOnWarning;
}
function raiseError(issue: OperationOutcomeIssue) : boolean {
Expand Down

0 comments on commit 8700254

Please sign in to comment.