We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d819ae5 commit ea36059Copy full SHA for ea36059
webview-ui/src/utils/command-parser.ts
@@ -31,7 +31,8 @@ export function extractPatternsFromCommand(command: string): string[] {
31
if (currentTokens.length > 0) {
32
extractFromTokens(currentTokens, patterns)
33
}
34
- } catch (_error) {
+ } catch (error) {
35
+ console.warn("Failed to parse command:", error)
36
// Fallback: just extract the first word
37
const firstWord = command.trim().split(/\s+/)[0]
38
if (firstWord) patterns.add(firstWord)
0 commit comments