Skip to content

Commit

Permalink
fix: update decoders parameters use
Browse files Browse the repository at this point in the history
  • Loading branch information
bombillazo committed Feb 2, 2024
1 parent bc50d20 commit 45a5813
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions query/decoders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export function decodeBox(value: string): Box {
const [a, b] = value.match(/\(.*?\)/g) || [];

return {
a: decodePoint(a),
a: decodePoint(a || ''),
b: decodePoint(b),
};
}
Expand Down Expand Up @@ -224,7 +224,7 @@ export function decodeLineSegment(value: string): LineSegment {
.match(/\(.*?\)/g) || [];

return {
a: decodePoint(a),
a: decodePoint(a || ''),
b: decodePoint(b),
};
}
Expand Down
2 changes: 1 addition & 1 deletion tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ need to modify the configuration.
From within the project directory, run:

```
deno test --allow-read --allow-net
deno test --allow-read --allow-net --allow-env
```

## Docker Configuration
Expand Down

0 comments on commit 45a5813

Please sign in to comment.