Skip to content

Commit

Permalink
modify InitCliConfig in ExecuteVendorPullCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
haitham911 committed Oct 21, 2024
1 parent 332a1a9 commit a70d456
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/exec/vendor_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ func ExecuteVendorPullCommand(cmd *cobra.Command, args []string) error {

// InitCliConfig finds and merges CLI configurations in the following order:
// system dir, home dir, current dir, ENV vars, command-line arguments
cliConfig, err := cfg.InitCliConfig(info, true)
// vendor pull not require stack configs so we pass false to InitCliConfig
cliConfig, err := cfg.InitCliConfig(info, false)
if err != nil {
return err
}
Expand Down

0 comments on commit a70d456

Please sign in to comment.