Skip to content

Commit

Permalink
Merge branch version/0-44-0-RC1 to adopt changes from PR #2998
Browse files Browse the repository at this point in the history
  • Loading branch information
as-builds committed Jan 9, 2024
2 parents 94fb6a6 + 27c22a3 commit 204b75f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/runners/prepare/prepare.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package prepare

import (
"fmt"
"os"
"runtime"

svcApp "github.com/ActiveState/cli/cmd/state-svc/app"
Expand Down Expand Up @@ -107,7 +108,7 @@ func (r *Prepare) Run(cmd *captain.Command) error {
}

if err := prepareCompletions(cmd, r.subshell); err != nil {
if !errs.Matches(err, &ErrorNotSupported{}) {
if !errs.Matches(err, &ErrorNotSupported{}) && !os.IsPermission(err) {
r.reportError(locale.Tl("err_prepare_generate_completions", "Could not generate completions script, error received: {{.V0}}.", err.Error()), err)
}
}
Expand Down

0 comments on commit 204b75f

Please sign in to comment.