Skip to content

Commit

Permalink
Remove duplicate but in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
hub-cap committed Nov 13, 2019
1 parent 9212eb2 commit b0a6be9
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 b0a6be9

Please sign in to comment.