Fix TOML files not being saved with correct file extension.
This commit is contained in:
parent
d984113b98
commit
2c19c221e7
@ -29,6 +29,7 @@ const collections = (state = null, action) => {
|
||||
const formatToExtension = format => ({
|
||||
markdown: 'md',
|
||||
yaml: 'yml',
|
||||
toml: 'toml',
|
||||
json: 'json',
|
||||
html: 'html',
|
||||
}[format]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user