Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
dylan-conway committed Feb 4, 2025
1 parent 754d6a6 commit b5dd9f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
8 changes: 2 additions & 6 deletions src/install/bun.lock.zig
Original file line number Diff line number Diff line change
Expand Up @@ -940,9 +940,7 @@ pub const Stringifier = struct {
} else {
any = true;
}
try writer.writeAll(
\\ "os":
);
try writer.writeAll(" \"os\": ");
try Negatable(Npm.OperatingSystem).toJson(meta.os, writer);
}

Expand All @@ -952,9 +950,7 @@ pub const Stringifier = struct {
} else {
any = true;
}
try writer.writeAll(
\\ "cpu":
);
try writer.writeAll(" \"cpu\": ");
try Negatable(Npm.Architecture).toJson(meta.arch, writer);
}

Expand Down
5 changes: 1 addition & 4 deletions src/install/install.zig
Original file line number Diff line number Diff line change
Expand Up @@ -15014,10 +15014,7 @@ pub const PackageManager = struct {
if (manager.options.do.summary) {
// TODO(dylan-conway): packages aren't installed but we can still print
// added/removed/updated direct dependencies.
Output.pretty(
\\
\\Saved <green>{s}<r> ({d} package{s})
, .{
Output.pretty("\nSaved <green>{s}<r> ({d} package{s}) ", .{
switch (save_format) {
.text => "bun.lock",
.binary => "bun.lockb",
Expand Down

0 comments on commit b5dd9f2

Please sign in to comment.