cleanUpOptimizedFiles method

void cleanUpOptimizedFiles(
  1. Iterable<String?> optimizedFiles
)

Implementation

void cleanUpOptimizedFiles(Iterable<String?> optimizedFiles) {
  for (final optimizedFile in optimizedFiles) {
    if (optimizedFile == null) continue;

    if (!optimizedFile.contains(optimizedTestBasename)) continue;

    fs.file(optimizedFile).deleteSync();
  }
}