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

13 lines
290 B
JavaScript

'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)
}