tra-analysis/website/node_modules/npm/lib/utils/move.js

13 lines
290 B
JavaScript
Raw Normal View History

2019-01-06 19:14:45 +00: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)
}