mirror of https://github.com/databricks/cli.git
Add debug log line for when bundle init is run from non-TTY interface (#1117)
This commit is contained in:
parent
51c64ef82a
commit
7dcdadde79
|
@ -7,6 +7,7 @@ import (
|
|||
|
||||
"github.com/databricks/cli/libs/cmdio"
|
||||
"github.com/databricks/cli/libs/jsonschema"
|
||||
"github.com/databricks/cli/libs/log"
|
||||
"golang.org/x/exp/maps"
|
||||
)
|
||||
|
||||
|
@ -247,6 +248,7 @@ func (c *config) promptOrAssignDefaultValues(r *renderer) error {
|
|||
if cmdio.IsOutTTY(c.ctx) && cmdio.IsInTTY(c.ctx) && !cmdio.IsGitBash(c.ctx) {
|
||||
return c.promptForValues(r)
|
||||
}
|
||||
log.Debugf(c.ctx, "Terminal is not TTY. Assigning default values to template input parameters")
|
||||
return c.assignDefaultValues(r)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue