Skip to content

Commit 91a5751

Browse files
committed
Actually fix non-Windows
1 parent d1a78a7 commit 91a5751

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/vcpkg/tools.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -577,10 +577,10 @@ namespace vcpkg
577577
(void)fs;
578578
(void)cache;
579579
#else
580-
const auto* mono_path = cache.get_tool_path(context, fs, Tools::Mono);
580+
const auto* mono_path = cache.get_tool_path(context, fs, Tools::MONO);
581581
if (!mono_path)
582582
{
583-
context.report(DiagnosticLine{DiagKind::Note, msgMonoInstructions});
583+
context.report(DiagnosticLine{DiagKind::Note, msg::format(msgMonoInstructions)});
584584
return nullopt;
585585
}
586586

@@ -599,7 +599,7 @@ namespace vcpkg
599599
#if !defined(_WIN32)
600600
else
601601
{
602-
context.report(DiagnosticLine{DiagKind::Note, msgMonoInstructions});
602+
context.report(DiagnosticLine{DiagKind::Note, msg::format(msgMonoInstructions)});
603603
}
604604
#endif // ^^^ !_WIN32
605605

0 commit comments

Comments
 (0)