mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-13 06:36:17 +00:00
13 lines
290 B
JavaScript
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)
|
||
|
}
|