Skip to content

Commit 34814fa

Browse files
oveddanNikhil Thorat
authored andcommitted
BodyPix - fix internal resolution message (#365)
1 parent f389a55 commit 34814fa

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

body-pix/src/util.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ function toInternalResolutionPercentage(
9292
internalResolution <= MAX_INTERNAL_RESOLUTION &&
9393
internalResolution >= MIN_INTERNAL_RESOLUTION,
9494
() =>
95-
`inputResolution must be a string or number between 0 and 4, but ` +
95+
`inputResolution must be a string or number between ${
96+
MIN_INTERNAL_RESOLUTION} and ${MAX_INTERNAL_RESOLUTION}, but ` +
9697
`was ${internalResolution}`);
9798

9899
return internalResolution;

0 commit comments

Comments
 (0)