Certain files cause revisions history to crash svekyll-cli #9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Not sure why, but certain revisions (git history) causes the svelte/vite plugin to crash. Disabling revisions globally, or on a per file basis seems to fix things.
Fixes
Add to the new post YFM if you can identify which change caused it:
Or, disable revisions display globally by commenting out revisions, or removing that configuration entirely:
It could be that this is happening because this was on a branch. Revisions history is calculated differently when the post is on a branch. I'll consider adding code to detect this (when running inside the CI) so that if it detects a
!{main|master}then to skip revisions generation. The issue with this is that the preview site will not look 100% identical to the final site when the post is merged to main.Stack Trace
Partial stack trace:
changed the description