Skip to content

Commit

Permalink
utils.rmdir() use fs.rm(), works with symlinks. Req node 14.14.0
Browse files Browse the repository at this point in the history
  • Loading branch information
vahtos committed Jan 26, 2024
1 parent dffdaa4 commit 6a9f951
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"preferGlobal": true,
"private": true,
"engines": {
"node": ">= 12.10.0"
"node": ">= 14.14.0"
},
"scripts": {
"build": "DROPPY_CACHE_PATH=$PWD/packages/cli/dist/cache.json lerna run --stream build --",
Expand Down
2 changes: 1 addition & 1 deletion packages/server/lib/services/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ utils.rm = function(p, cb) {
};

utils.rmdir = function(p, cb) {
fs.rmdir(p, {recursive: true}, cb);
fs.rm(p, {recursive: true}, cb);
};

utils.move = function(src, dst, cb) {
Expand Down

0 comments on commit 6a9f951

Please sign in to comment.