Skip to content

Commit

Permalink
Lint & Tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmorris committed Dec 21, 2023
1 parent 1f9f696 commit f352bb8
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions packages/wp-now/src/wp-now.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
},
},
};

Expand Down

0 comments on commit f352bb8

Please sign in to comment.