mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
Resolve conflict
This commit is contained in:
parent
6a8e9736e0
commit
bd1b11ec66
1 changed files with 0 additions and 5 deletions
|
@ -184,14 +184,9 @@ struct CmdToBase : Command
|
|||
|
||||
void run() override
|
||||
{
|
||||
<<<<<<< HEAD
|
||||
warn("The old format conversion sub commands of `nix hash` were deprecated in favor of `nix hash convert`.");
|
||||
for (auto s : args)
|
||||
=======
|
||||
if (!legacyCli)
|
||||
warn("The old format conversion subcommands of `nix hash` were deprecated in favor of `nix hash convert`.");
|
||||
for (const auto & s : args)
|
||||
>>>>>>> 408c2faf9 (nix hash: Don't print 'nix hash' deprecation message)
|
||||
logger->cout(Hash::parseAny(s, hashAlgo).to_string(hashFormat, hashFormat == HashFormat::SRI));
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue