Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Nov 21, 2023
1 parent 3d12898 commit 5204fe6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ module.exports = {
})(),
);

if (options.pnpm) {
if (options.packageManager === 'pnpm' || options.pnpm) {
tasks.push(pnpm.createWorkspacesFile(options.target, addonInfo, testAppInfo));
}

Expand Down Expand Up @@ -179,7 +179,7 @@ module.exports = {
await appBlueprint.install(appOptions);

await Promise.all([
this.updateTestAppPackageJson(path.join(testAppPath, 'package.json'), options.pnpm),
this.updateTestAppPackageJson(path.join(testAppPath, 'package.json'), options.packageManager === 'pnpm' || options.pnpm),
this.overrideTestAppFiles(testAppPath, path.join(options.target, 'test-app-overrides')),
fs.unlink(path.join(testAppPath, '.travis.yml')),
]);
Expand Down

0 comments on commit 5204fe6

Please sign in to comment.