Skip to content

Commit

Permalink
chore: lint using --fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nilshah98 committed Oct 18, 2023
1 parent bb359e7 commit 807a66d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@ export function evalStorybookEnvironmentInfo({ waitForXPath }) {
.then(el => `storybook/${el.innerText.match(/-?\d*\.?\d+/g).join('')}`)
.catch(() => {
waitForXPath("//strong[starts-with(text(), 'You are on Storybook ')]", 5000)
.then(el => `storybook/${el.innerText.match(/-?\d*\.?\d+/g).join('')}`)
.catch(() => 'storybook/unknown')
.then(el => `storybook/${el.innerText.match(/-?\d*\.?\d+/g).join('')}`)
.catch(() => 'storybook/unknown');
});
}

Expand Down

0 comments on commit 807a66d

Please sign in to comment.