(rest, flag)
| 111 | if (!input && defaults.action) { |
| 112 | rest = defaults.action; |
| 113 | } else { |
| 114 | [first, rest] = splitFirst(input); |
| 115 | if (first === "--watch") { |
| 116 | intervalMs = defaults.intervalMs ?? 0; |
| 117 | rest = input; |
| 118 | } else if (first) { |
| 119 | const parsedDuration = parseDuration(first); |
| 120 | if (parsedDuration !== null) |
no test coverage detected