We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 084def1 commit 3bfc101Copy full SHA for 3bfc101
1 file changed
src/cli/utils/process.ts
@@ -80,7 +80,7 @@ export const runCommandWithOutput = (
80
})
81
82
child.on('error', (err: NodeJS.ErrnoException) => {
83
- if (timer) clearTimeout(timer)
+ if (timer) { clearTimeout(timer) }
84
if (err.code === 'ENOENT') {
85
settle({ ok: false, reason: 'not-found', stdout, stderr })
86
} else if (err.code === 'EACCES') {
@@ -91,7 +91,7 @@ export const runCommandWithOutput = (
91
92
93
child.on('close', (code, signal) => {
94
95
96
if (timedOut) {
97
settle({ ok: false, reason: 'timeout', stdout, stderr })
0 commit comments