[bun install] Fix error message for no compatible binaries

This commit is contained in:
Jarred Sumner
2021-12-28 02:44:26 -08:00
parent 8ccb833421
commit c8b6e2d5cd

View File

@@ -6451,7 +6451,7 @@ pub const PackageManager = struct {
if (comptime log_level != .silent) {
const fmt = "\n<r><yellow>warn:<r> no compatible binaries found for <b>{s}<r>\n";
const args = .{names[package_id]};
const args = .{names[package_id].slice(lockfile.buffers.string_bytes.items)};
if (comptime log_level.showProgress()) {
if (Output.enable_ansi_colors) {