-
Notifications
You must be signed in to change notification settings - Fork 12
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Hello!
I'm getting the ERROR_NO_RESULTS error when the URL I'm checking includes -- sequence. Here's an example:
$ lighthouse-check --verbose --isOrb --urls https://pr36-cu--0y5ikr.herokuapp.com
❌ Something went wrong while attempting to enqueue URLs for Lighthouse. See the error below.
LighthouseCheckError: Something went wrong - no results.
at /usr/lib/node_modules/@foo-software/lighthouse-check/dist/lighthouseCheck.js:181:16 {
code: 'ERROR_NO_RESULTS',
data: undefined
}
As an ugly workaround, I'm using shell magic to escape -- in URLs with %2D- which solves the issue for me but I believe there is a better solution:
$ lighthouse-check --verbose --isOrb \
--urls `echo https://pr36-cu--0y5ikr.herokuapp.com | sed 's/--/%2D-/g'`
+--------------------------------------------------------------------------+
| Lighthouse Audit |
+--------------------------------------------------------------------------+
URL: https://pr36-cu%2D-0y5ikr.herokuapp.com
…
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working