Skip to content

Commit cdcefa8

Browse files
committed
fix(cpa): remove lock file on project creation
1 parent 5c049f7 commit cdcefa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/create-payload-app/src/lib/create-project.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export async function createProject(args: {
101101
})
102102

103103
// Remove yarn.lock file. This is only desired in Payload Cloud.
104-
const lockPath = path.resolve(projectDir, 'yarn.lock')
104+
const lockPath = path.resolve(projectDir, 'pnpm-lock.yaml')
105105
if (fse.existsSync(lockPath)) {
106106
await fse.remove(lockPath)
107107
}

0 commit comments

Comments
 (0)