removeTaskInvocation method
Remove any previous invocations of a task with the given name from the cache.
Implementation
Future<void> removeTaskInvocation(String taskName) async {
final file = _taskFile(taskName);
await ignoreExceptions(file.delete);
}