aboutsummaryrefslogtreecommitdiff
path: root/src/install/resolvers/folder_resolver.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/install/resolvers/folder_resolver.zig')
-rw-r--r--src/install/resolvers/folder_resolver.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install/resolvers/folder_resolver.zig b/src/install/resolvers/folder_resolver.zig
index a102e22db..b25623cfe 100644
--- a/src/install/resolvers/folder_resolver.zig
+++ b/src/install/resolvers/folder_resolver.zig
@@ -134,7 +134,7 @@ pub const FolderResolution = union(Tag) {
const len = try package_json.getEndPos();
body.data.reset();
- body.data.inflate(@maximum(len, 2048)) catch unreachable;
+ body.data.inflate(@max(len, 2048)) catch unreachable;
body.data.list.expandToCapacity();
const source_buf = try package_json.readAll(body.data.list.items);