getSubTasks method

  1. @override
List<HookTask> getSubTasks(
  1. Iterable<String> filePaths
)
override

Gets the list of sub-tasks for the given file paths.

filePaths is the list of file paths to process post-filtering.

Implementation

@override
List<HookTask> getSubTasks(Iterable<String> filePaths) => [
      for (final (index, command) in _commands(filePaths).indexed)
        _OneShellTask(
          command: command,
          index: index,
        ),
    ];