Skip to content

Commit

Permalink
fix typo (#11)
Browse files Browse the repository at this point in the history
# fix typo

## Change Justification

fix a typo

## Description

remove extra character from invoice file
  • Loading branch information
jkdmyrs authored Sep 12, 2023
1 parent 8f2e8f6 commit 32b6342
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,17 @@ _**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.2.0-alpha/mod.ts <username:string>
deno run https://deno.land/x/git_timeclock@v0.2.1-alpha/mod.ts <username:string>
```

### End a shift

```
deno run https://deno.land/x/git_timeclock@v0.2.0-alpha/mod.ts <username:string> <rate:decimal> --end
deno run https://deno.land/x/git_timeclock@v0.2.1-alpha/mod.ts <username:string> <rate:decimal> --end
```

### Create an Invoice

```
deno run https://deno.land/x/git_timeclock@v0.2.0-alpha/mod.ts <username> --invoice <invoicee:string> <company:string> <rate:decimal>
deno run https://deno.land/x/git_timeclock@v0.2.1-alpha/mod.ts <username> --invoice <invoicee:string> <company:string> <rate:decimal>
```
2 changes: 1 addition & 1 deletion src/app/Invoice/InvoiceHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class InvoiceHandler implements IInvoiceHandler {
lines.push('Shifts:\n');
lines.push(' Date|Hours\n');
for(const shift of shifts) {
lines.push(` ${shift.date.toISOString().split('T')[0]}|${shift.diffHours}'\n`);
lines.push(` ${shift.date.toISOString().split('T')[0]}|${shift.diffHours}\n`);
}
lines.push(`Hours: ${hours}\n`);
lines.push(`Amount Due: ${cost}\n`);
Expand Down

0 comments on commit 32b6342

Please sign in to comment.