Skip to content

Commit

Permalink
Fix type error in test
Browse files Browse the repository at this point in the history
  • Loading branch information
kpollich committed Aug 30, 2021
1 parent 72b35b1 commit 1745161
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ export const hasInvalidButRequiredVar = (
registryVar.required &&
(!packagePolicyVars ||
!packagePolicyVars[registryVar.name] ||
validatePackagePolicyConfig(packagePolicyVars[registryVar.name], registryVar)?.length)
validatePackagePolicyConfig(
packagePolicyVars[registryVar.name],
registryVar,
registryVar.name
)?.length)
)
)
);
Expand Down

0 comments on commit 1745161

Please sign in to comment.