"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = update;
async function update(tree) {
    // Delete rollup patch file
    const rollupPatchPath = 'patches/@nx+rollup+22.1.3.patch';
    if (tree.exists(rollupPatchPath)) {
        console.log(`Deleting rollup patch file: ${rollupPatchPath}`);
        tree.delete(rollupPatchPath);
    }
}
