Skip to content

Commit

Permalink
Remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
deadlinecode authored Aug 17, 2024
1 parent cce8f5e commit d4ca65f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ export async function autoload(options: AutoloadOptions = {}) {

const importedValue = file[importName];
// TODO: fix later
console.log(
importedValue.toString(),
importedValue.length,
typeof importedValue === "function" && !importedValue.length,
importedValue instanceof Elysia,
);
// console.log(
// importedValue.toString(),
// importedValue.length,
// typeof importedValue === "function" && !importedValue.length,
// importedValue instanceof Elysia,
// );
if (typeof importedValue === "function" && importedValue.length)
// @ts-expect-error
plugin.group(url, groupOptions, importedValue);
Expand Down

0 comments on commit d4ca65f

Please sign in to comment.