Skip to content

Commit

Permalink
refactor: Rename pkg/run Run to RunFromFile
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejsika committed Apr 29, 2023
1 parent 1cbd3a3 commit 92e5991
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ var Cmd = &cobra.Command{
Aliases: []string{"gobble", "r"},
Args: cobra.NoArgs,
Run: func(c *cobra.Command, args []string) {
err := run.Run(FlagConfigFilePath, FlagDryRun, FlagQuietOutput, FlagOnlyTags)
err := run.RunFromFile(FlagConfigFilePath, FlagDryRun, FlagQuietOutput, FlagOnlyTags)
if err != nil {
log.Fatalln(err)
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/run/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"gopkg.in/yaml.v2"
)

func Run(
func RunFromFile(
configFilePath string,
dryRun bool,
quietOutput bool,
Expand Down

0 comments on commit 92e5991

Please # to comment.