From 3b0b2fd8d6be6d37f71e6647ee6e7999b1d9ae38 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 7 Mar 2025 02:44:35 +0100 Subject: [PATCH] libflake: fix double quoting when updating flakes --- src/libflake/flake/flake.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libflake/flake/flake.cc b/src/libflake/flake/flake.cc index e573c55c4..475e159cd 100644 --- a/src/libflake/flake/flake.cc +++ b/src/libflake/flake/flake.cc @@ -863,11 +863,11 @@ LockedFlake lockFlake( auto s = chomp(diff); if (lockFileExists) { if (s.empty()) - warn("updating lock file '%s'", outputLockFilePath); + warn("updating lock file %s", outputLockFilePath); else - warn("updating lock file '%s':\n%s", outputLockFilePath, s); + warn("updating lock file %s:\n%s", outputLockFilePath, s); } else - warn("creating lock file '%s': \n%s", outputLockFilePath, s); + warn("creating lock file %s: \n%s", outputLockFilePath, s); std::optional commitMessage = std::nullopt;