1
0
mirror of https://github.com/S2-/gitlit synced 2025-08-04 05:10:05 +02:00

update dependencies

This commit is contained in:
s2
2018-10-10 15:11:12 +02:00
parent da4083f574
commit 5c55c54b71
90877 changed files with 339776 additions and 33677 deletions

View File

@@ -1,14 +1,9 @@
var rimraf = require('rimraf')
'use strict'
function removeSync (dir) {
return rimraf.sync(dir)
}
function remove (dir, callback) {
return callback ? rimraf(dir, callback) : rimraf(dir, function () {})
}
const u = require('universalify').fromCallback
const rimraf = require('./rimraf')
module.exports = {
remove: remove,
removeSync: removeSync
remove: u(rimraf),
removeSync: rimraf.sync
}