Skip to content

Commit

Permalink
Merge pull request #46 from stoplightio/fix/increase-key-attempts
Browse files Browse the repository at this point in the history
chore: increase suggest key attempts
  • Loading branch information
mmarti21 authored Aug 29, 2023
2 parents fc3f606 + fc79d97 commit 6e6ba8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: 2.1

orbs:
node: circleci/[email protected]
browser-tools: circleci/browser-tools@1.2.4
browser-tools: circleci/browser-tools@1.4.4

executors:
linux:
Expand Down
2 changes: 1 addition & 1 deletion lib/bundle/util/key-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { safePointerToPath, parse } = require("../../util/url");
const { basename, extname } = require("@stoplight/path");
const { get } = require("./object");

const MAX_ATTEMPTS = 20;
const MAX_ATTEMPTS = 1000;

function prettify (key) {
return capitalize(key.replace(/(?:\.|[\\/]+)([a-z])?/g, (_, letter, i) => {
Expand Down

0 comments on commit 6e6ba8c

Please sign in to comment.