-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Percy reports "Invalid snapshot options:" even when there is zero problems #1674
Comments
@navrkald : I believe that you are seeing this because of what I mentioned here: #1656 (comment) . A fix to address the reason that error started emerging is here: #1669 . That being said, from the PR that you have put together (#1675), I notice that you have noticed something else relevant, which is that Your PR might or might not be something that the Percy maintainers want to accept. In some sense, it's an improvement, since it would avoid this behavior of logging Or maybe the Percy maintainers want to implement both your change (checking that |
Hi @davidrunger I am afraid expecting empty if([]) {
console.log("Empty array is truthfully expression")
} I am afraid cookie issue, which I just quickly checked, is unrelated issue. |
@navrkald your PR got approved 🙌 Hopefully this will get into a release soon. |
The problem
Percy reports "Invalid snapshot options:" even when there is zero problems.
Environment
@percy/cli
version: 1.29.0Debug logs
tsc && PERCY_BRANCH=staging npx percy exec -c censored.js -- node censored.js
[percy] Notice: Percy collects CI logs for service improvement, stored for 30 days. Opt-out anytime with export PERCY_CLIENT_ERROR_LOGS=false
[percy] Percy has started!
[percy] Running "node censored.js"
[percy] Invalid snapshot options:
[percy] Snapshot taken: censored
[percy] Finalized build censored
[percy] Build's CLI and CI logs sent successfully. Please share this log ID with Percy team in case of any issues - 35435194_build_35435194_cli_5bdfdd0532339ace71a37854a9c60702339fe9f6
[percy] Command "node censored.js" exited with status: 0
The text was updated successfully, but these errors were encountered: