File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ async function turboRemoteCache(
1212 provider ?: STORAGE_PROVIDERS
1313 } ,
1414) {
15- const bodyLimit = instance . config . BODY_LIMIT ?? 104857600
15+ const bodyLimit = < number > instance . config . BODY_LIMIT
1616 const { allowedTokens, apiVersion = 'v8' , provider = STORAGE_PROVIDERS . LOCAL } = options
1717 if ( ! ( Array . isArray ( allowedTokens ) && allowedTokens . length ) ) {
1818 throw new Error (
@@ -53,7 +53,7 @@ async function turboRemoteCache(
5353 clientEmail : instance . config . GCS_CLIENT_EMAIL ,
5454 privateKey : instance . config . GCS_PRIVATE_KEY ,
5555 projectId : instance . config . GCS_PROJECT_ID ,
56- useTmp : instance . config . STORAGE_PATH_USE_TMP_FOLDER ?? true ,
56+ useTmp : ! ! instance . config . STORAGE_PATH_USE_TMP_FOLDER ,
5757 } ) ,
5858 )
5959
You can’t perform that action at this time.
0 commit comments