Skip to content
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

Don't suppress theme errors #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ryneeverett
Copy link

The pain point I've had with resumed has been that as I develop my theme locally, resumed suppresses any error resulting from the import which could mean the theme isn't installed but it could also mean the theme failed to evaluate for another reason.

NOTE: There are a couple XXX comments in which I explain the different outputs I'm seeing in test versus using resumed on the command line. I'm hoping to get a pointer on how to resolve this if this change is otherwise acceptable.

NOTE: I'm committing with git commit --no-verify because I couldn't figure out how to get the pre-commit hook passing. Even though running npm test comes out green, vitest fails in the pre-commit hook with the same results I get if I run vitest without FORCE_COLOR=0. Some aspect of my environment must be wrong...

The pain point I've had with resumed has been that as I develop my theme
locally, resumed suppresses any error resulting from the import which
*could* mean the theme isn't installed but it could also mean the theme
failed to evaluate for another reason.

NOTE: There are a couple `XXX` comments in which I explain the
different outputs I'm seeing in test versus using resumed on the command
line. I'm hoping to get a pointer on how to resolve this if this change
is otherwise acceptable.

NOTE: I'm committing with `git commit --no-verify` because I couldn't
figure out how to get the pre-commit hook passing. Even though running
`npm test` comes out green, vitest fails in the pre-commit hook with
the same results I get if I run vitest without `FORCE_COLOR=0`. Some
aspect of my environment must be wrong...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant