Skip to content

Commit 1918fa9

Browse files
committed
chore: resolve type issues
1 parent 237fa54 commit 1918fa9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/index.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { readFileSync } from 'node:fs'
66
import { join } from 'node:path'
77
import process from 'node:process'
88
import { promisify } from 'node:util'
9+
// @ts-expect-error dtsx issues
910
import { checkExistingCertificates, checkHosts, cleanup, startProxies } from '@stacksjs/rpx'
1011
import { bold, cyan, dim, green } from 'picocolors'
1112
import packageJson from '../package.json'
@@ -84,7 +85,7 @@ async function needsSudoAccess(options: VitePluginLocalOptions, domain: string):
8485
if (!hostsExist[0]) {
8586
try {
8687
// Try to write a test file to check permissions
87-
await execAsync('touch /etc/hosts', { stdio: 'ignore' })
88+
await execAsync('touch /etc/hosts')
8889
return false
8990
}
9091
catch {

0 commit comments

Comments
 (0)