Remove period at the end of the exception message
This commit is contained in:
parent
bf61871271
commit
c58c6165c5
|
@ -177,7 +177,7 @@ Hash Hash::parseAnyPrefixed(std::string_view original)
|
||||||
// Either the string or user must provide the type, if they both do they
|
// Either the string or user must provide the type, if they both do they
|
||||||
// must agree.
|
// must agree.
|
||||||
if (!optParsedType)
|
if (!optParsedType)
|
||||||
throw BadHash("hash '%s' does not include a type.", rest);
|
throw BadHash("hash '%s' does not include a type", rest);
|
||||||
|
|
||||||
return Hash(rest, *optParsedType, isSRI);
|
return Hash(rest, *optParsedType, isSRI);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue