(err error)
| 145 | } |
| 146 | |
| 147 | func isContextError(err error) bool { |
| 148 | if taskRunErr, ok := err.(*errors.TaskRunError); ok { |
| 149 | err = taskRunErr.Err |
| 150 | } |
| 151 | |
| 152 | return errors.Is(err, context.Canceled) || errors.Is(err, context.DeadlineExceeded) |
| 153 | } |
| 154 | |
| 155 | func closeOnInterrupt(w *fsnotify.Watcher) { |
| 156 | ch := make(chan os.Signal, 1) |
no test coverage detected
searching dependent graphs…