mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-11-10 15:04:45 +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)
|
|
}
|