Skip to content

Commit

Permalink
fix: in the automatic process with yes global the link builda but was…
Browse files Browse the repository at this point in the history
… not installing the dependencies #patch
  • Loading branch information
maxwelbm committed Oct 24, 2024
1 parent a72f87d commit 6df43fa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/cmd/link/link.go
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ func (cmd *LinkCmd) run(c *cobra.Command, info *LinkInfo) error {
}

if cmd.ShouldDevDeploy(info, msg.ASKPREBUILD, true) {
if err := deps(c, cmd, info, msg.AskInstallDepsDev, &msgs); err != nil {
return err
}

logger.Debug("Running build command from link command")
buildCmd := cmd.BuildCmd(cmd.F)
err := buildCmd.ExternalRun(&contracts.BuildInfo{Preset: info.Preset}, info.projectPath, &msgs)
Expand Down

0 comments on commit 6df43fa

Please sign in to comment.