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

Fix final :pre snapshot not being generated #764

Merged
merged 1 commit into from Dec 11, 2015
Merged

Conversation

denisdefreyne
Copy link
Member

The :pre snapshot is not generated properly (it remains “non-final”). This PR fixes that.

The NonFinalSnapshotWithPathError error might need to be removed. I’ll try to keep it in (it’s useful) but getting it to work properly might be hard.

Fixes #762.

denisdefreyne added a commit that referenced this pull request Dec 11, 2015
Fix final :pre snapshot not being generated
@denisdefreyne denisdefreyne merged commit 4742740 into master Dec 11, 2015
@denisdefreyne denisdefreyne deleted the fix-pre-snapshot branch December 11, 2015 07:36
@gjtorikian
Copy link
Contributor

Unfortunately, while using compiled_content, this still yields an error. Not sure if you wanted that fixed or not based on

(It might be the case that Nanoc 4.1.0a1’s behavior is in fact more correct.)

@denisdefreyne
Copy link
Member Author

Ack—I guess that’s why it’s still in beta :).

Lesson learnt for me: when fixing a bug, try the original test case again to make sure the right bug is tackled.

I’ll reopen the original issue and look into it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

:pre snapshot not generated properly on 4.1a1
2 participants