LibCore: Remove ErrorOr return type from read_long_version_string

Nothing in this function is fallible.
This commit is contained in:
Timothy Flynn
2025-02-12 08:57:20 -05:00
committed by Tim Flynn
parent 6e61cc5a1e
commit 9a4bb958ac
3 changed files with 3 additions and 3 deletions

View File

@@ -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)