Skip to content

Commit

Permalink
fix mod.ts bugs (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkdmyrs authored Sep 10, 2023
1 parent 5d4500d commit d677189
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions mod.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
import * as TimeClock from "./src/app/timeclock.ts";
await TimeClock.main();
import { TimeClock } from "./src/app/timeclock.ts";
const timeclock = new TimeClock();
await timeclock.main();
2 changes: 1 addition & 1 deletion src/app/timeclock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class TimeClock {

const punch = new Punch(punchType, user);

await validateCleanWorkingTreeAsync();
await this.validateCleanWorkingTreeAsync();
await _punchHandler.createPunchAsync(punch);
}
}

0 comments on commit d677189

Please sign in to comment.