1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-21 16:18:28 +01: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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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(() => {

1
package-lock.json generated
View File

@ -124,7 +124,6 @@
"copy-webpack-plugin": "11.0.0",
"cross-env": "7.0.3",
"css-loader": "6.8.1",
"del": "6.1.1",
"electron": "25.9.1",
"electron-builder": "23.6.0",
"electron-log": "5.0.1",

View File

@ -87,7 +87,6 @@
"copy-webpack-plugin": "11.0.0",
"cross-env": "7.0.3",
"css-loader": "6.8.1",
"del": "6.1.1",
"electron": "25.9.1",
"electron-builder": "23.6.0",
"electron-log": "5.0.1",