Skip to content
This repository was archived by the owner on Dec 19, 2025. It is now read-only.

Commit 8ee4b52

Browse files
committed
fixed linting error
1 parent 4d96b09 commit 8ee4b52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/check.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const rest = (options, callback) => {
8383

8484
if (options.filterPrerelease) {
8585
if(version['prerelease'] !== undefined && version['prerelease']) {
86-
continue;
86+
continue;
8787
}
8888
}
8989

@@ -170,9 +170,9 @@ module.exports = (options, callback) => {
170170
if (options.token) {
171171

172172
if (options.filterPrerelease) {
173-
throw new Error(`filterPrerelease option currently unsupported when specifying a token.`);
173+
throw new Error('filterPrerelease option currently unsupported when specifying a token.');
174174
}
175-
175+
176176
graphql(options, callback);
177177
} else {
178178
rest(options, callback);

0 commit comments

Comments
 (0)