File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
packages/vite-plugin-tempest/src Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff 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 } ].` ,
Original file line number Diff line number Diff 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 ( )
You can’t perform that action at this time.
0 commit comments