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

Commit 4f5a437

Browse files
Fix get first page plugins trom npmjs twice
When we get the plugins from http://npmjs.org we need to start from page 1 not from page 0 because page 1 and page 0 are the same.
1 parent 7e0a66e commit 4f5a437

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/plugins/npmjs-plugins-source.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export class NpmjsPluginsSource extends PluginsSourceBase implements IPluginsSou
6262
let result: IBasicPluginInformation[] = [];
6363

6464
let currentPluginsFound: IBasicPluginInformation[] = [];
65-
let page = 0;
65+
let page = 1;
6666

6767
do {
6868
currentPluginsFound = this.getPluginsFromNpmjs(this._keywords, page++).wait();

0 commit comments

Comments
 (0)