Skip to content

Commit ded1510

Browse files
committed
fix: test caddy error
1 parent 4efcff5 commit ded1510

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/caddy/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ function testCaddy() {
6767
chmodSync(caddyPath, 0o755)
6868
const child = process.platform === 'win32' ? spawn(caddyPath, []) : spawn('sudo', [caddyPath])
6969
child.on('close', () => {
70-
return resolve(true)
70+
return resolve(false)
7171
})
7272
child.on('error', (err) => {
7373
return reject(err)

0 commit comments

Comments
 (0)