Skip to content

Commit 349b951

Browse files
committed
fix lint
1 parent 27fb40d commit 349b951

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/src/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func main() {
9393
log.SetFlags(0)
9494
log.SetPrefix("")
9595

96-
err, exitCode, ranMigratedCmd := maybeRunMigratedCommand()
96+
ranMigratedCmd, exitCode, err := maybeRunMigratedCommand()
9797
if ranMigratedCmd {
9898
if err != nil {
9999
log.Println(err)

cmd/src/run_migration_compat.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ var migratedCommands = map[string]*cli.Command{
1919
"version": versionCommand,
2020
}
2121

22-
func maybeRunMigratedCommand() (err error, exitCode int, isMigrated bool) {
22+
func maybeRunMigratedCommand() (isMigrated bool, exitCode int, err error) {
2323
// need to figure out if a migrated command has been requested
2424
flag.Parse()
2525
subCommand := flag.CommandLine.Arg(0)

0 commit comments

Comments
 (0)