1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-30 07:33:16 +02:00

libflake: fix double quoting when updating flakes

This commit is contained in:
Jörg Thalheim 2025-03-07 02:44:35 +01:00
parent 559a2d1bc7
commit 3b0b2fd8d6

View file

@ -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<std::string> commitMessage = std::nullopt;