mirror of
https://github.com/bitwarden/browser.git
synced 2024-09-26 03:52:52 +02:00
replace del with rimraf (#7024)
This commit is contained in:
parent
c945f08a5d
commit
4ff5f38e89
@ -1,7 +1,7 @@
|
|||||||
const child = require("child_process");
|
const child = require("child_process");
|
||||||
const fs = require("fs");
|
const fs = require("fs");
|
||||||
|
|
||||||
const del = require("del");
|
const { rimraf } = require("rimraf");
|
||||||
const gulp = require("gulp");
|
const gulp = require("gulp");
|
||||||
const gulpif = require("gulp-if");
|
const gulpif = require("gulp-if");
|
||||||
const jeditor = require("gulp-json-editor");
|
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(() => safariCopyAssets(paths.safari + "**/*", buildPath))
|
||||||
.then(() => safariCopyBuild(paths.build + "**/*", buildPath + "safari/app"))
|
.then(() => safariCopyBuild(paths.build + "**/*", buildPath + "safari/app"))
|
||||||
.then(() => {
|
.then(() => {
|
||||||
|
1
package-lock.json
generated
1
package-lock.json
generated
@ -124,7 +124,6 @@
|
|||||||
"copy-webpack-plugin": "11.0.0",
|
"copy-webpack-plugin": "11.0.0",
|
||||||
"cross-env": "7.0.3",
|
"cross-env": "7.0.3",
|
||||||
"css-loader": "6.8.1",
|
"css-loader": "6.8.1",
|
||||||
"del": "6.1.1",
|
|
||||||
"electron": "25.9.1",
|
"electron": "25.9.1",
|
||||||
"electron-builder": "23.6.0",
|
"electron-builder": "23.6.0",
|
||||||
"electron-log": "5.0.1",
|
"electron-log": "5.0.1",
|
||||||
|
@ -87,7 +87,6 @@
|
|||||||
"copy-webpack-plugin": "11.0.0",
|
"copy-webpack-plugin": "11.0.0",
|
||||||
"cross-env": "7.0.3",
|
"cross-env": "7.0.3",
|
||||||
"css-loader": "6.8.1",
|
"css-loader": "6.8.1",
|
||||||
"del": "6.1.1",
|
|
||||||
"electron": "25.9.1",
|
"electron": "25.9.1",
|
||||||
"electron-builder": "23.6.0",
|
"electron-builder": "23.6.0",
|
||||||
"electron-log": "5.0.1",
|
"electron-log": "5.0.1",
|
||||||
|
Loading…
Reference in New Issue
Block a user