fix: change message when trying to update a workspace already up-to-date (#14975)

Related to #14940  -

We replace the wording from Workspace isn't outdated to Workspace is
up-to-date when the workspace already is up-to-date.
This commit is contained in:
Vincent Vielle
2024-10-10 12:56:53 +02:00
committed by GitHub
parent ab6cb1a787
commit 0ef5340d20

View File

@@ -30,7 +30,7 @@ func (r *RootCmd) update() *serpent.Command {
return err
}
if !workspace.Outdated && !parameterFlags.promptRichParameters && !parameterFlags.promptBuildOptions && len(parameterFlags.buildOptions) == 0 {
_, _ = fmt.Fprintf(inv.Stdout, "Workspace isn't outdated!\n")
_, _ = fmt.Fprintf(inv.Stdout, "Workspace is up-to-date.\n")
return nil
}