Skip to content

Commit

Permalink
Update pm_trusted_command.zig
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Dec 14, 2024
1 parent d735424 commit 195827b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/pm_trusted_command.zig
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ pub const UntrustedCommand = struct {
const package_id = pm.lockfile.buffers.resolutions.items[dep_id];
const resolution = &resolutions[package_id];
var package_scripts = scripts[package_id];
var not_lazy: PackageManager.LazyNodeModulesFolder = .{ .dir = node_modules_dir };
var not_lazy: PackageManager.LazyPackageDestinationDir{= .{ .dir = node_modules_dir };
const maybe_scripts_list = package_scripts.getList(
pm.log,
pm.lockfile,
Expand Down Expand Up @@ -262,7 +262,7 @@ pub const TrustCommand = struct {
}
const resolution = &resolutions[package_id];
var package_scripts = scripts[package_id];
var not_lazy = PackageManager.LazyNodeModulesFolder{ .dir = node_modules_dir };
var not_lazy = PackageManager.LazyPackageDestinationDir{ .dir = node_modules_dir };
const maybe_scripts_list = package_scripts.getList(
pm.log,
pm.lockfile,
Expand Down

0 comments on commit 195827b

Please sign in to comment.