Skip to content

Commit

Permalink
fix(ts): no double slashes
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroenv committed Jul 1, 2019
1 parent d32f978 commit dd84f88
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/__snapshots__/config.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,11 @@ Object {
"maxObjSize": 450000,
"npmDownloadsEndpoint": "https://api.npmjs.org/downloads",
"npmRegistryEndpoint": "https://replicate.npmjs.com/registry",
"npmRootEndpoint": "https://api.npmjs.org/",
"npmRootEndpoint": "https://api.npmjs.org",
"popularDownloadsRatio": 0.005,
"replicateConcurrency": 10,
"seq": null,
"timeToRedoBootstrap": 604800000,
"unpkgRoot": "https://unpkg.com/",
"unpkgRoot": "https://unpkg.com",
}
`;
4 changes: 2 additions & 2 deletions src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ import ms from 'ms';
const defaultConfig = {
npmRegistryEndpoint: 'https://replicate.npmjs.com/registry',
npmDownloadsEndpoint: 'https://api.npmjs.org/downloads',
npmRootEndpoint: 'https://api.npmjs.org/',
npmRootEndpoint: 'https://api.npmjs.org',
jsDelivrHitsEndpoint: 'https://data.jsdelivr.com/v1/stats/packages/month/all',
unpkgRoot: 'https://unpkg.com/',
unpkgRoot: 'https://unpkg.com',
maxObjSize: 450000,
popularDownloadsRatio: 0.005,
appId: 'OFCNCOG2CU',
Expand Down
1 change: 0 additions & 1 deletion src/unpkg.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// @ts-check
import c from './config.js';
import got from 'got';

Expand Down

0 comments on commit dd84f88

Please sign in to comment.