mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-20 22:52:46 -05:00
fix: 🐛 extra argument after rebase
This commit is contained in:
parent
8fe0f13b49
commit
2cef0a4c41
2 changed files with 1 additions and 2 deletions
|
@ -588,7 +588,6 @@ class Storage implements IStorage {
|
|||
/**
|
||||
* Retrieve a package by name.
|
||||
* @param {*} name
|
||||
* @param {*} options
|
||||
* @param {*} callback
|
||||
* @return {Function}
|
||||
*/
|
||||
|
|
|
@ -368,7 +368,7 @@ class Storage {
|
|||
* @property {function} options.callback Callback for receive data
|
||||
*/
|
||||
get_package(options) {
|
||||
this.localStorage.getPackageMetadata(options.name, {req: options.req}, (err, data) => {
|
||||
this.localStorage.getPackageMetadata(options.name, (err, data) => {
|
||||
if (err && (!err.status || err.status >= 500)) {
|
||||
// report internal errors right away
|
||||
return options.callback(err);
|
||||
|
|
Loading…
Add table
Reference in a new issue