atcheck/lsscanner/new_ubuntu/node_modules/npm/lib/utils/move.js

13 lines
290 B
JavaScript
Raw Normal View History

2019-12-16 18:42:21 +01:00
'use strict'
module.exports = wrappedMove
const fs = require('graceful-fs')
const move = require('move-concurrently')
const Bluebird = require('bluebird')
const options = {fs: fs, Promise: Bluebird, maxConcurrency: 4}
function wrappedMove (from, to) {
return move(from, to, options)
}