mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
switch from printError warnings to logWarnings
This commit is contained in:
parent
55eb717148
commit
958e81987b
6 changed files with 31 additions and 10 deletions
|
@ -161,7 +161,7 @@ std::ostream& operator<<(std::ostream &out, const ErrorInfo &einfo)
|
|||
einfo.programName.value_or(""))
|
||||
<< std::endl;
|
||||
|
||||
// filename.
|
||||
// filename, line, column.
|
||||
if (einfo.nixCode.has_value()) {
|
||||
if (einfo.nixCode->errPos.file != "") {
|
||||
out << fmt("%1%in file: " ANSI_BLUE "%2% %3%" ANSI_NORMAL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue