fix(cpa): remove lock file on project creation

This commit is contained in:
Elliot DeNolf
2024-11-06 10:02:29 -05:00
parent 5c049f7c9c
commit cdcefa88f2

View File

@@ -101,7 +101,7 @@ export async function createProject(args: {
})
// Remove yarn.lock file. This is only desired in Payload Cloud.
const lockPath = path.resolve(projectDir, 'yarn.lock')
const lockPath = path.resolve(projectDir, 'pnpm-lock.yaml')
if (fse.existsSync(lockPath)) {
await fse.remove(lockPath)
}