[ci] format

This commit is contained in:
matthewp 2023-08-31 15:32:51 +00:00 committed by astrobot-houston
parent 0752cf3688
commit f36bce043f
2 changed files with 4 additions and 4 deletions

View file

@ -104,7 +104,7 @@ export async function runHookConfigSetup({
throw new Error(`Renderer ${bold(renderer.name)} does not provide a serverEntrypoint.`); throw new Error(`Renderer ${bold(renderer.name)} does not provide a serverEntrypoint.`);
} }
if(renderer.name === 'astro:jsx') { if (renderer.name === 'astro:jsx') {
astroJSXRenderer = renderer; astroJSXRenderer = renderer;
} else { } else {
updatedSettings.renderers.push(renderer); updatedSettings.renderers.push(renderer);
@ -180,7 +180,7 @@ export async function runHookConfigSetup({
} }
// The astro:jsx renderer should come last, to not interfere with others. // The astro:jsx renderer should come last, to not interfere with others.
if(astroJSXRenderer) { if (astroJSXRenderer) {
updatedSettings.renderers.push(astroJSXRenderer); updatedSettings.renderers.push(astroJSXRenderer);
} }

View file

@ -5,7 +5,7 @@ import { loadFixture } from '../../../astro/test/test-utils.js';
function hookError() { function hookError() {
const error = console.error; const error = console.error;
const errors = []; const errors = [];
console.error = function(...args) { console.error = function (...args) {
errors.push(args); errors.push(args);
}; };
return () => { return () => {