Skip to content
This repository was archived by the owner on Feb 12, 2024. It is now read-only.

Commit cb42844

Browse files
bmordandryajov
authored andcommitted
requires async/waterfall in place of async
1 parent bf7e38d commit cb42844

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cli/commands/files/add.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const toPull = require('stream-to-pull-stream')
1111
const Progress = require('progress')
1212
const getFolderSize = require('get-folder-size')
1313
const byteman = require('byteman')
14-
const async = require('async')
14+
const waterfall = require('async/waterfall')
1515
const utils = require('../../utils')
1616
const print = require('../../utils').print
1717

@@ -218,7 +218,7 @@ module.exports = {
218218
let list = []
219219
let currentBytes = 0
220220

221-
async.waterfall([
221+
waterfall([
222222
(next) => glob(path.join(inPath, '/**/*'), next),
223223
(globResult, next) => {
224224
list = globResult.length === 0 ? [inPath] : globResult

0 commit comments

Comments
 (0)