Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
remix-run-bot committed Dec 8, 2022
1 parent dc88239 commit 340154c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/remix-deno/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function defaultCacheControl(url: URL, assetsPublicPath = "/build/") {
}

export function createRequestHandler<
Context extends AppLoadContext | undefined = undefined
Context extends AppLoadContext | undefined = undefined,
>({
build,
mode,
Expand Down Expand Up @@ -53,7 +53,7 @@ export async function serveStaticFiles(
cacheControl?: string | ((url: URL) => string);
publicDir?: string;
assetsPublicPath?: string;
}
},
) {
const url = new URL(request.url);

Expand Down Expand Up @@ -84,7 +84,7 @@ export async function serveStaticFiles(
}

export function createRequestHandlerWithStaticFiles<
Context extends AppLoadContext | undefined = undefined
Context extends AppLoadContext | undefined = undefined,
>({
build,
mode,
Expand Down
2 changes: 1 addition & 1 deletion scripts/copy-build-to-dist.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ if (process.env.REMIX_LOCAL_BUILD_DIRECTORY) {
let appDir = path.join(ROOT_DIR, process.env.REMIX_LOCAL_BUILD_DIRECTORY);
try {
fse.readdirSync(path.join(appDir, "node_modules"));
} catch {
} catch {
console.error(
"Oops! You pointed `REMIX_LOCAL_BUILD_DIRECTORY` to a directory that " +
"does not have a `node_modules` folder. Please `npm install` in that " +
Expand Down

0 comments on commit 340154c

Please sign in to comment.