repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
refactor: refine circular buffer error message
[poolifier.git]
/
src
/
fixed-priority-queue.ts
diff --git
a/src/fixed-priority-queue.ts
b/src/fixed-priority-queue.ts
index 075986e26b09acbd5b30f1d3247725f6ccc52588..fadaee750515b3de72bcc6c5a9f6cd70de0b68cd 100644
(file)
--- a/
src/fixed-priority-queue.ts
+++ b/
src/fixed-priority-queue.ts
@@
-130,7
+130,7
@@
export class FixedPriorityQueue<T> {
private checkSize (size: number): void {
if (!Number.isSafeInteger(size)) {
throw new TypeError(
- `Invalid fixed priority queue size:
${size}
is not an integer`
+ `Invalid fixed priority queue size:
'${size}'
is not an integer`
)
}
if (size < 0) {