Skip to content

Commit

Permalink
feat: rename main function per setup
Browse files Browse the repository at this point in the history
  • Loading branch information
JonDotsoy committed Jul 28, 2023
1 parent 4d3820f commit c8584a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ndate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

import { handler } from "./handler.ts";

const run = async () => {
const setup = async () => {
for await (const buff of handler(Deno.args)) {
Deno.stdout.write(buff)
}
}

await run();
await setup();

0 comments on commit c8584a6

Please sign in to comment.