From f352bb84c1c67a45bbb27434c19b463f7a33b908 Mon Sep 17 00:00:00 2001 From: Sean Morris <640101+seanmorris@users.noreply.github.com> Date: Thu, 21 Dec 2023 03:17:24 -0500 Subject: [PATCH] Lint & Tests. --- packages/wp-now/src/wp-now.ts | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/packages/wp-now/src/wp-now.ts b/packages/wp-now/src/wp-now.ts index 8cef5086..15406868 100644 --- a/packages/wp-now/src/wp-now.ts +++ b/packages/wp-now/src/wp-now.ts @@ -58,19 +58,6 @@ export default async function startWPNow( requestHandler: { documentRoot, absoluteUrl: options.absoluteUrl, - isStaticFilePath: (path) => { - try { - const fullPath = options.documentRoot + path; - return ( - php.fileExists(fullPath) && - !php.isDir(fullPath) && - !seemsLikeAPHPFile(fullPath) - ); - } catch (e) { - output?.error(e); - return false; - } - }, }, };