diff --git a/lib/plugins/gcs/index.js b/lib/plugins/gcs/index.js index f9eb957627..a52d0b3a31 100644 --- a/lib/plugins/gcs/index.js +++ b/lib/plugins/gcs/index.js @@ -81,7 +81,7 @@ async function uploadFile( gzip: !!gcsOptions.gzip, metadata: { // eslint-disable-next-line unicorn/numeric-separators-style - cacheControl: 'public, max-age=' + noCacheTime ? 0 : 31536000 + cacheControl: 'public, max-age=' + (noCacheTime ? 0 : 31536000) } };