Skip to content

Commit

Permalink
fix a small typo
Browse files Browse the repository at this point in the history
Signed-off-by: Haoliang Yue <yuehaoliang@microsoft.com>
  • Loading branch information
yuehaoliang committed Sep 14, 2022
1 parent 0937ff2 commit e6e930b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/oras/internal/option/confirmation.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (opts *Confirmation) ApplyFlags(fs *pflag.FlagSet) {
}

// AskForConfirmation prints a propmt to ask for confirmation before doing an
// action and take user input as response.
// action and takes user input as response.
func (opts *Confirmation) AskForConfirmation(r io.Reader, prompt string) (bool, error) {
if opts.Confirmed {
return true, nil
Expand Down

0 comments on commit e6e930b

Please sign in to comment.