()
| 105 | } |
| 106 | |
| 107 | func (err *TaskfileNotSecureError) Error() string { |
| 108 | return fmt.Sprintf( |
| 109 | `task: Taskfile %q cannot be downloaded over an insecure connection. You can override this by using the --insecure flag`, |
| 110 | filepath.ToSlash(err.URI), |
| 111 | ) |
| 112 | } |
| 113 | |
| 114 | func (err *TaskfileNotSecureError) Code() int { |
| 115 | return CodeTaskfileNotSecure |
nothing calls this directly
no outgoing calls
no test coverage detected