mirror of
https://github.com/NixOS/nix.git
synced 2024-11-26 08:42:30 +00:00
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
|
||||
// must agree.
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user