Skip to content

Commit 69a9629

Browse files
logging for files
1 parent 5b6c69f commit 69a9629

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

endpoints.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,11 @@ for await (const walkEntry of walk(cwd)) {
5555

5656
const actualPath = Deno.build.os === 'windows'
5757
? path
58-
: new URL(path.substring(2), import.meta.url).href;
58+
: walkEntry.path;
5959

6060
let pattern, GET, POST, PUT, DELETE, PATCH;
6161
try {
6262
({ pattern, GET, POST, PUT, DELETE, PATCH } = await import(actualPath));
63-
6463
} catch (error) {
6564
console.error(
6665
`Failed to import ${actualPath}`,

0 commit comments

Comments
 (0)