(line *lib.Line, crontab *lib.Crontab)
| 570 | } |
| 571 | |
| 572 | func createNote(line *lib.Line, crontab *lib.Crontab) string { |
| 573 | if line.IsAutoDiscoverCommand() { |
| 574 | return fmt.Sprintf("Watching for schedule changes and new entries in %s", crontab.DisplayName()) |
| 575 | } |
| 576 | |
| 577 | return fmt.Sprintf("Discovered in %s L%d", crontab.DisplayName(), line.LineNumber) |
| 578 | } |
| 579 | |
| 580 | func createDefaultName(line *lib.Line, crontab *lib.Crontab, effectiveHostname string, excludeFromName []string, allNameCandidates map[string]bool) string { |
| 581 | excludeFromName = append(excludeFromName, "2>&1") |
no test coverage detected