mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-27 03:37:53 +00:00
LibCore: Remove ErrorOr return type from read_long_version_string
Nothing in this function is fallible.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
|
||||
namespace Core::Version {
|
||||
|
||||
ErrorOr<String> read_long_version_string()
|
||||
String read_long_version_string()
|
||||
{
|
||||
auto validate_git_hash = [](auto hash) {
|
||||
if (hash.length() < 4 || hash.length() > 40)
|
||||
|
||||
Reference in New Issue
Block a user