Skip to content

Commit

Permalink
fix(publish): Use correct field name when limiting retries
Browse files Browse the repository at this point in the history
  • Loading branch information
evocateur committed Oct 10, 2018
1 parent 6afcde7 commit 76589d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ describe("verifyNpmPackageAccess", () => {
expect.objectContaining({
username: "lerna-test",
registry: "https://registry.npmjs.org/",
retry: 0,
"fetch-retries": 0,
})
);
});
Expand Down
2 changes: 1 addition & 1 deletion commands/publish/lib/verify-npm-package-access.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function verifyNpmPackageAccess(packages, opts) {
// eslint-disable-next-line no-param-reassign
opts = RegistryConfig(opts, {
// don't wait forever for third-party failures to be dealt with
retry: 0,
"fetch-retries": 0,
});

return access.lsPackages(opts.username, opts.toJSON()).then(success, failure);
Expand Down

0 comments on commit 76589d4

Please sign in to comment.