import fs from "node:fs/promises";
export async function rm(path) {
    try {
        await fs.rm(path, { recursive: true, force: true });
    }
    catch (error) {
        if (error.code !== "ENOENT") {
            throw error;
        }
    }
}
//# sourceMappingURL=rm.js.map