lib/download.js
Function download
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function download (url, path, opts) {
const progress = require('smooth-progress')
const bytes = require('bytes')
const https = require('https')
const fs = require('fs')