Fix TOML files not being saved with correct file extension.

This commit is contained in:
Caleb 2017-10-29 17:38:37 -06:00 committed by Shawn Erquhart
parent d984113b98
commit 2c19c221e7

View File

@ -29,6 +29,7 @@ const collections = (state = null, action) => {
const formatToExtension = format => ({
markdown: 'md',
yaml: 'yml',
toml: 'toml',
json: 'json',
html: 'html',
}[format]);