Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

delete recursively

Brendan Allan628f43c0a008
diff --git a/.github/prebuild.js b/.github/prebuild.js
index 210f5b939..e70a53596 100644
--- a/.github/prebuild.js
+++ b/.github/prebuild.js
@@ -76,7 +76,7 @@ rustflags = [
);
for (const lib of unnecessaryLibraries) {
- await fs.rm(path.join(librariesDir, lib));
+ await fs.rm(path.join(librariesDir, lib), { recursive: true });
}
const headers = await fs.readdir(headersDir);
@@ -91,7 +91,7 @@ rustflags = [
);
for (const header of unnecessaryHeaders) {
- await fs.rm(path.join(headersDir, header));
+ await fs.rm(path.join(headersDir, header), { recursive: true });
}
await fs.rm(path.join(frameworkDir, "Resources", "Models"), {