Skip to content

Commit e457a65

Browse files
Merge pull request #172 from kalviumcommunity/fix/v2-templates
fix: skip lockfile for yarn if exist while installing package
2 parents 32c092d + d11d9a0 commit e457a65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/code.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -611,7 +611,7 @@ const _installDependenciesUsingYarn = async (path) => {
611611
return new Promise((resolve, reject) => {
612612
let isRejected = false
613613

614-
const yarnInstall = spawn('yarn', { cwd: path })
614+
const yarnInstall = spawn('yarn', ['install', '--no-lockfile'], { cwd: path })
615615

616616
let stdout = ''
617617
yarnInstall.stdout.on('data', (data) => {

0 commit comments

Comments
 (0)