From de00ee9ba30505154de813e438f8edf4a4faa77a Mon Sep 17 00:00:00 2001 From: Daniel Liu <139250065@qq.com> Date: Sun, 21 Sep 2025 19:35:28 +0800 Subject: [PATCH] console: fix some typos #25551 (#1536) --- console/console.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/console/console.go b/console/console.go index b21f4a6528..69c8c63c33 100644 --- a/console/console.go +++ b/console/console.go @@ -378,7 +378,7 @@ func (c *Console) StopInteractive() { } } -// Interactive starts an interactive user session, where in.put is propted from +// Interactive starts an interactive user session, where input is prompted from // the configured user prompter. func (c *Console) Interactive() { var ( @@ -468,7 +468,7 @@ func (c *Console) readLines(input chan<- string, errc chan<- error, prompt <-cha } } -// countIndents returns the number of identations for the given input. +// countIndents returns the number of indentations for the given input. // In case of invalid input such as var a = } the result can be negative. func countIndents(input string) int { var (