Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion packages/coverde_cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
- **FIX**: use platform-dependent path handling (#82).
- **FIX**: validate regex patterns in `filter` command (#212).
- **FIX**: validate threshold values in `report` command (#212).
- **FIX**: proper file deletions (#221)
- **FEAT**: use Dart 3.5.0 as minimum SDK version (#114).
- **FEAT**: add `optimize-tests` command (#115).
- **FEAT**: add `file-coverage-log-level` option to `check` and `value` commands (#118).
- **FEAT**: add file locking to `filter` command to prevent race conditions when multiple processes write to the same output file (#211).
- **REFACTOR**: use `mason_logger` package for logging (#216).
- **PERF**: use streaming parser for trace files (#217).
- **REFACTOR**: use `mason_logger` package for logging (#216).
- **REFACTOR**: deterministic OS detection (#219)

## 0.2.0+2

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ class OptimizeTestsCommand extends CoverdeCommand {
);
}
final outputFile = File(p.join(projectDir.path, outputPath));
if (outputFile.existsSync()) outputFile.deleteSync(recursive: true);
if (outputFile.existsSync()) outputFile.deleteSync();
final includeGlob = () {
final pattern = argResults.option(includeOptionName)!.withoutQuotes;
return Glob(pattern, context: p.posix);
Expand Down
2 changes: 1 addition & 1 deletion packages/coverde_cli/lib/src/commands/rm/rm.dart
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ Remove a set of files and folders.''';
if (isDryRun) {
logger.info('[DRY RUN] Would remove file: <$elementPath>');
} else {
File(elementPath).deleteSync(recursive: true);
File(elementPath).deleteSync();
}
case FileSystemEntityType.notFound:
final message = 'The <$elementPath> element does not exist.';
Expand Down