aboutsummaryrefslogtreecommitdiff
path: root/src/install/npm.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/install/npm.zig')
-rw-r--r--src/install/npm.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/install/npm.zig b/src/install/npm.zig
index d5122c001..44cf0d4ed 100644
--- a/src/install/npm.zig
+++ b/src/install/npm.zig
@@ -756,7 +756,7 @@ pub const PackageManifest = struct {
) !?PackageManifest {
const source = logger.Source.initPathString(expected_name, json_buffer);
initializeStore();
- const json = json_parser.ParseJSON(&source, log, allocator) catch return null;
+ const json = json_parser.ParseJSONUTF8(&source, log, allocator) catch return null;
if (json.asProperty("error")) |error_q| {
if (error_q.expr.asString(allocator)) |err| {