Skip to content

Commit

Permalink
Remove duplicate but in error message (#50530)
Browse files Browse the repository at this point in the history
  • Loading branch information
hub-cap authored Nov 14, 2019
1 parent 2516f94 commit 790739b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/kbn-config-schema/src/types/uri_type.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class URIType extends Type<string> {
case 'string.base':
return `expected value of type [string] but got [${typeDetect(value)}].`;
case 'string.uriCustomScheme':
return `expected URI with scheme [${scheme}] but but got [${value}].`;
return `expected URI with scheme [${scheme}] but got [${value}].`;
case 'string.uri':
return `value is [${value}] but it must be a valid URI (see RFC 3986).`;
}
Expand Down

0 comments on commit 790739b

Please sign in to comment.