Skip to content

Commit

Permalink
more toplevel mod.ts related bugfixes (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkdmyrs authored Sep 10, 2023
1 parent d677189 commit 9fcf23b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ _**Note:** Add `--allow-run --allow-read --allow-write` to skip security prompts
### Create your first punch

```
deno run https://deno.land/x/git_timeclock@v0.1.1-alpha/mod.ts <username>
deno run https://deno.land/x/git_timeclock@v0.1.3-alpha/mod.ts <username>
```

### End a shift

```
deno run https://deno.land/x/git_timeclock@v0.1.1-alpha/mod.ts <username> --end
deno run https://deno.land/x/git_timeclock@v0.1.3-alpha/mod.ts <username> --end
2 changes: 1 addition & 1 deletion src/app/timeclock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ export class TimeClock {
const punch = new Punch(punchType, user);

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

0 comments on commit 9fcf23b

Please sign in to comment.