Skip to content

Commit

Permalink
fix: linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Sep 11, 2018
1 parent bd08ddd commit ca7fd83
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/core/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module.exports = (overrides = {}) => {
upgradeToHttps: option(toBoolean(process.env.CLONE_UPGRADE_TO_HTTPS), overrides.cloneUpgradeToHttps),
eagerDownload: option(toBoolean(process.env.CLONE_EAGER_DOWNLOAD), overrides.eagerDownload),
userAgent: option(process.env.CLONE_USER_AGENT, overrides.cloneUserAgent),
maxRequests:option(Number(process.env.IPFS_MAX_REQUESTS), overrides.ipfsMaxRequests)
maxRequests: option(Number(process.env.IPFS_MAX_REQUESTS), overrides.ipfsMaxRequests)
},
request: {
pool: {
Expand Down
4 changes: 2 additions & 2 deletions test/clone.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ describe('clone', () => {
})

it('should survive an invalid update', (done) => {
const cloner = clone(config({
clone(config({
eagerDownload: true
}), blobStore)

Expand All @@ -126,7 +126,7 @@ describe('clone', () => {
it('should not download a tarball that already exists', (done) => {
const tarballPath = '/new-module/-/1.0.0/new-module-1.0.0.tar.gz'

const cloner = clone(config({
clone(config({
eagerDownload: true
}), blobStore)

Expand Down
2 changes: 0 additions & 2 deletions test/config.spec.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/* eslint-env mocha */
'use strict'

const mock = require('mock-require')
const sinon = require('sinon')
const config = require('../src/core/config')
const expect = require('chai')
.use(require('dirty-chai'))
Expand Down

0 comments on commit ca7fd83

Please sign in to comment.