mirror of
https://github.com/denoland/deno.git
synced 2025-02-01 12:16:11 -05:00
Merge remote-tracking branch 'upstream/main' into check-workspace-member-compiler-options
This commit is contained in:
commit
874260d0ce
1 changed files with 1 additions and 1 deletions
|
@ -620,7 +620,7 @@ function createGPUSupportedLimits(limits) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function normalizeLimit(limit) {
|
function normalizeLimit(limit) {
|
||||||
if (typeof num === "bigint") {
|
if (typeof limit === "bigint") {
|
||||||
limit = Number(limit);
|
limit = Number(limit);
|
||||||
if (limit === NumberPOSITIVE_INFINITY) {
|
if (limit === NumberPOSITIVE_INFINITY) {
|
||||||
limit = NumberMAX_SAFE_INTEGER;
|
limit = NumberMAX_SAFE_INTEGER;
|
||||||
|
|
Loading…
Add table
Reference in a new issue