Skip to content

Commit 2ad7b66

Browse files
committed
chore(vite-plugin): fix formatting
1 parent 9e91190 commit 2ad7b66

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/vite-plugin-tempest/src/config.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ async function loadConfigurationFromTempestConsole(): Promise<TempestViteConfigu
5252
const { stdout } = await exec(`${php.value} ${TEMPEST_BIN} ${VITE_CONFIG_COMMAND}`)
5353
const json = stdout.match(/\{.*\}/s)
5454

55-
if (!json?.[0]) {
56-
throw new Error('Could not find valid JSON in Tempest console output')
57-
}
55+
if (!json?.[0]) {
56+
throw new Error('Could not find valid JSON in Tempest console output')
57+
}
5858

59-
return JSON.parse(json[0])
59+
return JSON.parse(json[0])
6060
} catch (error) {
6161
console.error(
6262
`[vite-plugin-tempest] Could not load configuration from [${php.value} ${TEMPEST_BIN} ${VITE_CONFIG_COMMAND}].`,

packages/vite-plugin-tempest/src/plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ export default function tempest(): Plugin {
193193
if (req.url === '/index.html') {
194194
res.writeHead(302, { Location: appUrl })
195195
res.end()
196-
return
196+
return
197197
}
198198

199199
next()

0 commit comments

Comments
 (0)