mirror of
https://github.com/go-task/task.git
synced 2025-03-17 21:08:01 +02:00
fix: remove duplicated quotes
This commit is contained in:
parent
0bf5fab9c0
commit
4de2ccea59
@ -105,10 +105,7 @@ type TaskCancelledByUserError struct {
|
||||
}
|
||||
|
||||
func (err *TaskCancelledByUserError) Error() string {
|
||||
return fmt.Sprintf(
|
||||
`task: Task "%q" cancelled by user`,
|
||||
err.TaskName,
|
||||
)
|
||||
return fmt.Sprintf(`task: Task %q cancelled by user`, err.TaskName)
|
||||
}
|
||||
|
||||
func (err *TaskCancelledByUserError) Code() int {
|
||||
@ -122,7 +119,7 @@ type TaskCancelledNoTerminalError struct {
|
||||
|
||||
func (err *TaskCancelledNoTerminalError) Error() string {
|
||||
return fmt.Sprintf(
|
||||
`task: Task "%q" cancelled because it has a prompt and the environment is not a terminal. Use --yes (-y) to run anyway.`,
|
||||
`task: Task %q cancelled because it has a prompt and the environment is not a terminal. Use --yes (-y) to run anyway.`,
|
||||
err.TaskName,
|
||||
)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user