Skip to content

Commit

Permalink
fix: rm the update of kcl.mod when 'kcl mod metadata' (#188)
Browse files Browse the repository at this point in the history
Signed-off-by: zongz <[email protected]>
  • Loading branch information
zong-zhe authored Dec 16, 2024
1 parent 99df89f commit d6adc7b
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions cmd/kcl/commands/mod_metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,6 @@ func NewModMetadataCmd(cli *client.KpmClient) *cobra.Command {
return err
}

if update {
err = kclPkg.UpdateModAndLockFile()
if err != nil {
return err
}
}

fmt.Println(jsonStr)

return nil
Expand Down

0 comments on commit d6adc7b

Please sign in to comment.