Skip to content

Commit

Permalink
[DEPENDENCY] Bump rimraf from 3.0.2 to 4.1.1 (#550)
Browse files Browse the repository at this point in the history
* [DEPENDENCY] Bump rimraf from 3.0.2 to 4.1.1

Bumps [rimraf](https://github.com/isaacs/rimraf) from 3.0.2 to 4.1.1.
- [Release notes](https://github.com/isaacs/rimraf/releases)
- [Changelog](https://github.com/isaacs/rimraf/blob/main/CHANGELOG.md)
- [Commits](isaacs/rimraf@v3.0.2...v4.1.1)

---
updated-dependencies:
- dependency-name: rimraf
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* [INTERNAL] Adjust rimraf usage to native promise

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Florian Vogt <florian.vogt@sap.com>
  • Loading branch information
2 people authored and d3xter666 committed Feb 6, 2023
1 parent 152cbfd commit a0e342e
Show file tree
Hide file tree
Showing 3 changed files with 874 additions and 146 deletions.
4 changes: 1 addition & 3 deletions lib/build/ProjectBuilder.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import {promisify} from "node:util";
import rimraf from "rimraf";
const rimrafp = promisify(rimraf);
import * as resourceFactory from "@ui5/fs/resourceFactory";
import BuildLogger from "@ui5/logger/internal/loggers/Build";
const log = new BuildLogger("ProjectBuilder");
Expand Down Expand Up @@ -228,7 +226,7 @@ class ProjectBuilder {

if (cleanDest) {
log.info(`Cleaning target directory...`);
await rimrafp(destPath);
await rimraf(destPath);
}
const startTime = process.hrtime();
try {
Expand Down
Loading

0 comments on commit a0e342e

Please sign in to comment.