Skip to content

Commit

Permalink
Use yarn install to create yarn.lock file
Browse files Browse the repository at this point in the history
- `update-lockfile` mode only works on existing yarn.lock file.

Signed-off-by: Keshav Priyadarshi <git@keshav.space>
  • Loading branch information
keshav-space committed Jun 20, 2024
1 parent efafe5c commit b025d00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/yarn.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

func yarnCmd() *cobra.Command {
lockFiles := []string{"yarn.lock"}
lockGenCommand := []string{"yarn", "install", "--mode", "update-lockfile"}
lockGenCommand := []string{"yarn", "install"}
forced := false

yarnCmd := &cobra.Command{
Expand Down

0 comments on commit b025d00

Please sign in to comment.