mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
Merge branch 'master' into tlim_newtxt
This commit is contained in:
@@ -97,7 +97,7 @@ func (c ConsolePrinter) PrintReport(i int, correction *models.Correction) {
|
|||||||
|
|
||||||
// PromptToRun prompts the user to see if they want to execute a correction.
|
// PromptToRun prompts the user to see if they want to execute a correction.
|
||||||
func (c ConsolePrinter) PromptToRun() bool {
|
func (c ConsolePrinter) PromptToRun() bool {
|
||||||
fmt.Fprint(c.Writer, "Run? (Y/n): ")
|
fmt.Fprint(c.Writer, "Run? (y/N): ")
|
||||||
txt, err := c.Reader.ReadString('\n')
|
txt, err := c.Reader.ReadString('\n')
|
||||||
run := true
|
run := true
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user