Skip to content

Commit ea22b75

Browse files
committed
fix posthog analytics for terminal command exitCode
1 parent 96d6717 commit ea22b75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

npm-app/src/terminal/run-command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ export const runTerminalCommand = async (
343343
) => {
344344
commandIsRunning = false
345345
trackEvent(AnalyticsEvent.TERMINAL_COMMAND_COMPLETED, {
346-
...value,
346+
...value[0].value,
347347
mode,
348348
processType,
349349
})

0 commit comments

Comments
 (0)