Skip to content

Commit

Permalink
chore: add call to command.ReadConfig in PersistentPreRun
Browse files Browse the repository at this point in the history
Related to privateerproj/privateer-sdk#55

Signed-off-by: jmeridth <[email protected]>
  • Loading branch information
jmeridth committed Jan 21, 2025
1 parent 92446b1 commit 5b62cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ var (
Use: PluginName,
Short: fmt.Sprintf("Test suite for %s.", PluginName),
PersistentPreRun: func(cmd *cobra.Command, args []string) {
// optional
command.ReadConfig()
},
Run: func(cmd *cobra.Command, args []string) {
// Serve plugin
Expand Down

0 comments on commit 5b62cf9

Please sign in to comment.