execute method
FutureOr<bool>
execute(
- ReleasePacker releasePacker,
- Directory rootDirectory, {
- ReleaseBundle? releaseBundle,
override
Implementation
@override
FutureOr<bool> execute(ReleasePacker releasePacker, Directory rootDirectory,
{ReleaseBundle? releaseBundle}) {
var filePath = joinPaths(rootDirectory.path, path);
var file = File(filePath);
if (file.existsSync()) {
print(' ยป Deleting file: $filePath');
file.deleteSync();
return true;
}
return false;
}