Skip to content

Commit b1a53f3

Browse files
authored
don't add escaping to the command field (#6519)
1 parent 828e863 commit b1a53f3

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

ui/desktop/src/components/settings/extensions/subcomponents/ExtensionList.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import ExtensionItem from './ExtensionItem';
22
import builtInExtensionsData from '../../../../built-in-extensions.json';
3-
import { quote } from 'shell-quote';
43
import { ExtensionConfig } from '../../../../api';
54
import { FixedExtensionEntry } from '../../../ConfigContext';
65

@@ -136,7 +135,7 @@ export function getSubtitle(config: ExtensionConfig) {
136135
default:
137136
return {
138137
description: config.description || null,
139-
command: 'cmd' in config ? quote([config.cmd, ...config.args]) : null,
138+
command: 'cmd' in config ? [config.cmd, ...config.args].join(' ') : null,
140139
};
141140
}
142141
}

0 commit comments

Comments
 (0)