Skip to content

Commit

Permalink
fix: display correct flag in error message when skipping java db update
Browse files Browse the repository at this point in the history
  • Loading branch information
ariyonaty authored Mar 12, 2023
1 parent 1fac7bf commit 20f1067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/javadb/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func (u *Updater) Update() error {
return xerrors.Errorf("Java DB metadata error: %w", err)
} else if u.skip {
log.Logger.Error("The first run cannot skip downloading Java DB")
return xerrors.New("'--skip-java-update' cannot be specified on the first run")
return xerrors.New("'--skip-java-db-update' cannot be specified on the first run")
}
}

Expand Down

0 comments on commit 20f1067

Please sign in to comment.