Minimal set of working Gitea workflows. #138
@ -37,7 +37,7 @@ func InitConfig(cmd *cobra.Command) error {
|
||||
}
|
||||
}
|
||||
|
||||
if err := viper.BindPFlag(flags.FlagChainID, cmd.Flags().Lookup(flags.FlagChainID)); err != nil {
|
||||
if err := viper.BindPFlag(flags.FlagChainID, cmd.PersistentFlags().Lookup(flags.FlagChainID)); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user