Thanks to visit codestin.com Credit goes to github.com
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 ef3b460 commit 46e007cCopy full SHA for 46e007c
src/services/hooks/utils/runCommands.ts
@@ -22,7 +22,7 @@ const runCommands = async (commands: string[] = []): Promise<void> => {
22
logger(`Command output: ${result.stdout}`)
23
} catch (error: any) {
24
logger(`Command failed: ${error.message}`)
25
- send({ type: '', payload: { process: { ...process, status: 'FAIL' } } })
+ send({ type: 'COMMAND_FAIL', payload: { process: { ...process, status: 'FAIL' } } })
26
return
27
}
28
send({ type: 'COMMAND_SUCCESS', payload: { process: { ...process, status: 'SUCCESS' } } })
0 commit comments