Skip to content
  • Duncan Coutts's avatar
    9df5f4a3
    In resolveTargets, represent two error cases explicitly · 9df5f4a3
    Duncan Coutts authored
    It's true that in the way the Cmd* modules use readTargetSelectors with
    resolveTargets, that these cases would be internal errors, it's more modular
    for resolveTargets not to make that assumption and to report them like
    other problems. We can report them as internal errors just as easily in the
    Cmd* error reporting code.
    9df5f4a3
    In resolveTargets, represent two error cases explicitly
    Duncan Coutts authored
    It's true that in the way the Cmd* modules use readTargetSelectors with
    resolveTargets, that these cases would be internal errors, it's more modular
    for resolveTargets not to make that assumption and to report them like
    other problems. We can report them as internal errors just as easily in the
    Cmd* error reporting code.
Loading