deletePatch method

Future<void> deletePatch()

Implementation

Future<void> deletePatch() async {
  final path = _patchPath;

  final file = fs.file(path);

  if (!file.existsSync()) {
    logger.detail('no patch file to delete');
    return;
  }

  logger.detail('deleting patch file');
  file.deleteSync();
}