Skip to content

Commit 7229388

Browse files
committed
text-editor: do not register for no extension
otherwise it also opens folders...
1 parent b765190 commit 7229388

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

text-editor/src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const appInfo = {
4444
]
4545
}
4646

47-
for (const ext of ['js', 'json', 'xml', 'py', 'php', 'yaml', '']) {
47+
for (const ext of ['js', 'json', 'xml', 'py', 'php', 'yaml']) {
4848
appInfo.extensions.push({
4949
extension: ext,
5050
routeName: 'text-editor-editor',

0 commit comments

Comments
 (0)