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 TOML files not being saved with correct file extension. #757

Merged
merged 1 commit into from
Oct 30, 2017

Conversation

tech4him1
Copy link
Contributor

@tech4him1 tech4him1 commented Oct 29, 2017

- Summary

If a collection has format: toml, the files will still be saved with the .undefined file extension unless the extensions is explicitly specified.

- Test plan

Create a collection with format: toml set.

- Description for the changelog

Fix TOML files not being saved with correct file extension.

- A picture of a cute animal (not mandatory but encouraged)

@@ -29,6 +29,7 @@ const collections = (state = null, action) => {
const formatToExtension = format => ({
markdown: 'md',
yaml: 'yml',
toml: 'toml',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep that seems important lol

@erquhart erquhart merged commit 2c19c22 into master Oct 30, 2017
@tech4him1 tech4him1 deleted the fix-toml branch October 30, 2017 15:02
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.

2 participants