Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Remove lodash.range dep
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jan 21, 2017
1 parent 155e4e2 commit a3dc2d5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions bin/cli/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ require('update-notifier')({pkg}).notify()
const debug = require('debug')(pkg.name)

const workerFarm = require('worker-farm')
const range = require('lodash.range')
const minimist = require('minimist')
const series = require('run-series')
const path = require('path')
Expand All @@ -28,7 +27,7 @@ const {file: fileOpts} = argv
const {flags: farmOpts} = cli
const {delayBetweenWorkers} = farmOpts
const numWorkers = getNumWorkers(farmOpts)
const workersRange = range(numWorkers)
const workersRange = [...Array(10).keys(numWorkers)]

const spawnWorkers = workersRange.map(function (worker) {
const workerArgs = getWorkerArgs(fileOpts, worker)
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
],
"dependencies": {
"debug": "~2.6.0",
"lodash.range": "~3.2.0",
"meow": "~3.7.0",
"run-series": "~1.1.4",
"update-notifier": "~1.0.3",
Expand Down

0 comments on commit a3dc2d5

Please # to comment.