HookTask.always constructor

HookTask.always({
  1. List<Pattern> exclude = const [],
  2. String? workingDirectory,
})

Creates a task that always runs, even if no files are being processed or if the files do not match the task's patterns.

Implementation

HookTask.always({this.exclude = const [], this.workingDirectory})
  : include = [AllFiles()],
    _always = true,
    id = const Uuid().v4();