Skip to content

Commit

Permalink
Add missing return description
Browse files Browse the repository at this point in the history
  • Loading branch information
jennyEckstein committed Oct 25, 2021
1 parent 482a889 commit 1198d8a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ Validates package name.
Gets available versions for provided package name.
**Kind**: inner method of [<code>verifyDeps</code>](#exp_module_lifion-verify-deps--verifyDeps)
**Returns**: <code>Promise.&lt;Array.&lt;string&gt;&gt;</code> - - list of available versions.
**Throws**:
- <code>Error</code> - output failed JSON parse.
Expand Down
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function isValidNpmPackageName(name) {
* Gets available versions for provided package name.
*
* @param {string} name - package name.
* @returns {Promise<string[]>}
* @returns {Promise<string[]>} - list of available versions.
* @throws {Error} - output failed JSON parse.
*/
async function getLatestVersions(name) {
Expand Down

0 comments on commit 1198d8a

Please sign in to comment.