Skip to content

Commit

Permalink
text-editor: do not register for no extension
Browse files Browse the repository at this point in the history
otherwise it also opens folders...
  • Loading branch information
diocas committed Feb 8, 2022
1 parent b765190 commit 7229388
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion text-editor/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const appInfo = {
]
}

for (const ext of ['js', 'json', 'xml', 'py', 'php', 'yaml', '']) {
for (const ext of ['js', 'json', 'xml', 'py', 'php', 'yaml']) {
appInfo.extensions.push({
extension: ext,
routeName: 'text-editor-editor',
Expand Down

0 comments on commit 7229388

Please sign in to comment.