resolve method

ResolvedHook resolve(
  1. List<String> filePaths
)

Implementation

ResolvedHook resolve(List<String> filePaths) {
  final resolvedTasks = tasks.indexed.map((e) {
    final (index, task) = e;

    return task.resolve(filePaths, index + 1);
  }).toList();

  return ResolvedHook(
    filePaths: filePaths,
    tasks: resolvedTasks,
  );
}