From 1fe87596e04f9a2fcedf9687f8104f0fbb144e40 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 13 Oct 2024 15:50:50 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/Task.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Task.cpp b/src/Task.cpp index df06addf0..0fc515004 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -1431,8 +1431,7 @@ void Task::validate(bool applyDefault /* = true */) { Lexer::Type type; // `uuid` is not a property in the TaskChampion model, so an invalid UUID is // actually an error. - if (!lex.isUUID(token, type, true)) - throw format("Not a valid UUID '{1}'.", uid); + if (!lex.isUUID(token, type, true)) throw format("Not a valid UUID '{1}'.", uid); } else set("uuid", uuid());