Skip to content

Commit

Permalink
[Breaking] getLatestError: remove unused options param
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Oct 13, 2021
1 parent 48455b3 commit a3f5337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getLatestError.js
Expand Up @@ -17,7 +17,7 @@ function isNotPrerelease(v) {
return !isPrerelease(v);
}

module.exports = function getLatestError(name, version, options, callback) {
module.exports = function getLatestError(name, version, callback) {
if (process.env.PUBLISH_LATEST_DANGEROUSLY === 'true') {
return callback(null, '$PUBLISH_LATEST_DANGEROUSLY override enabled.');
}
Expand Down

0 comments on commit a3f5337

Please sign in to comment.