Skip to content

Commit

Permalink
Don't require PULUMI_DEBUG_COMMANDS to be set to use local backend
Browse files Browse the repository at this point in the history
This was an artifact of history. Since we'll be supporting the local
backend, we don't need yet another flag guarding it (you already have
to opt in with -c local:// which is enough of a hoop).
  • Loading branch information
ellismg committed Jun 26, 2018
1 parent 45faf10 commit cfa58a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/login.go
Expand Up @@ -36,7 +36,7 @@ func newLoginCmd() *cobra.Command {
var b backend.Backend
var err error

if hasDebugCommands() && local.IsLocalBackendURL(cloudURL) {
if local.IsLocalBackendURL(cloudURL) {
b, err = local.Login(cmdutil.Diag(), cloudURL)
} else {
b, err = cloud.Login(commandContext(), cmdutil.Diag(), cloudURL)
Expand Down

0 comments on commit cfa58a4

Please sign in to comment.