Skip to content

Commit

Permalink
Sonar warnings - do not reflect user data
Browse files Browse the repository at this point in the history
  • Loading branch information
codyebberson committed Jun 2, 2021
1 parent 90c2ce8 commit 2623016
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*.html text eol=lf diff=html
*.css text eol=lf
*.js text eol=lf
*.ts text eol=lf
*.sh text eol=lf
*.sql text eol=lf
*.xml text eol=lf
Expand Down
4 changes: 2 additions & 2 deletions packages/server/src/fhir/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export function validateResourceType(resourceType: string): OperationOutcome {

const definition = definitions[resourceType];
if (!definition) {
return validationError('Unknown resource type "' + resourceType + '"');
return validationError('Unknown resource type');
}

return allOk;
Expand All @@ -32,7 +32,7 @@ export function validateResource(resource: Resource): OperationOutcome {

const definition = definitions[resourceType];
if (!definition) {
return validationError('Unknown resource type "' + resourceType + '"');
return validationError('Unknown resource type');
}

const issues: OperationOutcomeIssue[] = [];
Expand Down

0 comments on commit 2623016

Please sign in to comment.