Skip to content

Commit

Permalink
Fix receiver name
Browse files Browse the repository at this point in the history
  • Loading branch information
KrzysztofMamak committed Nov 5, 2024
1 parent db377d7 commit bfec7fc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/flutter_config_version_guard.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ func flutterConfigFromCommand(cmd *cobra.Command) *flutter.FlutterConfig {

// GetFlutterConfigAndEnsureSufficientVersion gets Flutter project configuration,
// puts it in the command's context and verifies if poe2arb version matches constraint.
func (fvg flutterConfigVersionGuard) GetFlutterConfigAndEnsureSufficientVersion(cmd *cobra.Command, _ []string) error {
func (fcvg flutterConfigVersionGuard) GetFlutterConfigAndEnsureSufficientVersion(cmd *cobra.Command, _ []string) error {
log := getLogger(cmd)

logSub := log.Info("loading Flutter config").Sub()

flutterCfg, err := fvg.getFlutterConfig()
flutterCfg, err := fcvg.getFlutterConfig()
if err != nil {
logSub.Error("failed: " + err.Error())
return err
}

err = fvg.ensureSufficientVersion(flutterCfg.L10n.Poe2ArbVersion)
err = fcvg.ensureSufficientVersion(flutterCfg.L10n.Poe2ArbVersion)
if err != nil {
logSub.Error("failed: " + err.Error())
return err
Expand Down

0 comments on commit bfec7fc

Please sign in to comment.