Skip to content

Commit

Permalink
test: correct nut logic
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed Nov 15, 2023
1 parent f834979 commit 42d2ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/commands/package/packageVersion.nut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ describe('package:version:*', () => {
const project = await SfProject.resolve();
const projectJson = project.getSfProjectJson();
const contents = projectJson.getContents();
if (!contents.packageDirectories.some((pkgDir) => pkgDir.package === packageId)) {
if (!contents.packageDirectories.some((pkgDir) => pkgDir.package === pkgName)) {
expect.fail('packageDirectory not found');
}
const newPackageDirs = contents.packageDirectories.map((pkgDir) =>
Expand Down

0 comments on commit 42d2ef9

Please sign in to comment.