mirror of https://github.com/databricks/cli.git
Do not prompt for template values in Git Bash (#1082)
## Changes Follow up on #1077
This commit is contained in:
parent
f18094d943
commit
42f21d82fe
|
@ -213,7 +213,7 @@ func (c *config) promptForValues(r *renderer) error {
|
|||
// terminal is not TTY
|
||||
func (c *config) promptOrAssignDefaultValues(r *renderer) error {
|
||||
// TODO: replace with IsPromptSupported call (requires fixing TestAccBundleInitErrorOnUnknownFields test)
|
||||
if cmdio.IsOutTTY(c.ctx) && cmdio.IsInTTY(c.ctx) {
|
||||
if cmdio.IsOutTTY(c.ctx) && cmdio.IsInTTY(c.ctx) && !cmdio.IsGitBash(c.ctx) {
|
||||
return c.promptForValues(r)
|
||||
}
|
||||
return c.assignDefaultValues(r)
|
||||
|
|
Loading…
Reference in New Issue