Skip to content

Commit

Permalink
test: Force empty yarn.lock file
Browse files Browse the repository at this point in the history
  • Loading branch information
TriPSs committed Nov 20, 2023
1 parent e7282b1 commit 6ba7d6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions e2e/utils/workspace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ export function ensureNxProject(patchPlugins: string[] = []): void {
patchPackageJsonForPlugin(npmPackageName, pluginDistPath)
}

execSync('touch yarn.lock', {
execSync('yarn set version berry', {
cwd: tmpProjectPath,
stdio: 'inherit',
env: process.env
})

execSync('yarn set version berry', {
execSync('rm yarn.lock && touch yarn.lock', {
cwd: tmpProjectPath,
stdio: 'inherit',
env: process.env
Expand Down

0 comments on commit 6ba7d6a

Please sign in to comment.