Skip to content

Commit

Permalink
Merge pull request #1070 from ActiveState/headless-enable
Browse files Browse the repository at this point in the history
Turn on headless mode
  • Loading branch information
Naatan committed Nov 3, 2020
2 parents 4e048e8 + d625c31 commit 813d23f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/runners/packages/packages.go
Expand Up @@ -22,7 +22,7 @@ const latestVersion = "latest"

func executePackageOperation(pj *project.Project, out output.Outputer, authentication *authentication.Auth, prompt prompt.Prompter, language, name, version string, operation model.Operation) error {
isHeadless := pj.IsHeadless()
if false && !isHeadless && !authentication.Authenticated() { // Headless prompt disabled for the moment
if !isHeadless && !authentication.Authenticated() {
anonymousOk, fail := prompt.Confirm(locale.Tl("continue_anon", "Continue Anonymously?"), locale.T("prompt_headless_anonymous"), true)
if fail != nil {
return locale.WrapInputError(fail.ToError(), "Authentication cancelled.")
Expand Down

0 comments on commit 813d23f

Please sign in to comment.