1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 17:23:37 +00:00

replace del with rimraf (#7024)

This commit is contained in:
Jonathan Prusik
2023-11-29 13:53:48 -05:00
committed by GitHub
parent c945f08a5d
commit 4ff5f38e89
3 changed files with 2 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
const child = require("child_process");
const fs = require("fs");
const del = require("del");
const { rimraf } = require("rimraf");
const gulp = require("gulp");
const gulpif = require("gulp-if");
const jeditor = require("gulp-json-editor");
@@ -131,7 +131,7 @@ function distSafariApp(cb, subBuildPath) {
];
}
return del([buildPath + "**/*"])
return rimraf([buildPath + "**/*"], { glob: true })
.then(() => safariCopyAssets(paths.safari + "**/*", buildPath))
.then(() => safariCopyBuild(paths.build + "**/*", buildPath + "safari/app"))
.then(() => {