Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Don't suppress theme errors #12

Open
wants to merge 1 commit into
base: main
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...
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant