[ci] format

This commit is contained in:
matthewp 2022-10-03 15:46:38 +00:00 committed by fredkbot
parent ee8dd424fd
commit 88163e02ba
5 changed files with 6 additions and 6 deletions

View file

@ -47,7 +47,7 @@ export function stringifyChunk(result: SSRResult, chunk: string | RenderInstruct
export class HTMLParts {
public parts: string;
constructor() {
this.parts = ''
this.parts = '';
}
append(part: string | HTMLBytes | RenderInstruction, result: SSRResult) {
if (ArrayBuffer.isView(part)) {

View file

@ -3,5 +3,5 @@ import nodejs from '@astrojs/node';
export default defineConfig({
output: 'server',
adapter: nodejs()
adapter: nodejs(),
});

View file

@ -2,7 +2,7 @@ import http from 'http';
import { handler } from './dist/server/entry.mjs';
const listener = (req, res) => {
handler(req, res, err => {
handler(req, res, (err) => {
if (err) {
res.writeHead(500);
res.end(err.toString());