From 43f350ea38b8f3df76c3bef5bb5f90d5cccf835f Mon Sep 17 00:00:00 2001 From: Matt Gaunt Date: Fri, 16 Feb 2018 11:59:43 -0800 Subject: [PATCH] Make functions private --- packages/workbox-core/_private/checkSWFileCacheHeaders.mjs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/workbox-core/_private/checkSWFileCacheHeaders.mjs b/packages/workbox-core/_private/checkSWFileCacheHeaders.mjs index e10c546386..250c3c778e 100644 --- a/packages/workbox-core/_private/checkSWFileCacheHeaders.mjs +++ b/packages/workbox-core/_private/checkSWFileCacheHeaders.mjs @@ -24,6 +24,8 @@ const MAX_AGE_REGEX = /max-age\s*=\s*(\d*)/g; * to max-age=0 or no-cache. * * @param {string} cacheControlHeader + * + * @private */ function showWarning(cacheControlHeader) { const docsUrl = 'https://developers.google.com/web/tools/workbox/guides/service-worker-checklist#cache-control_of_your_service_worker_file'; @@ -38,6 +40,8 @@ function showWarning(cacheControlHeader) { * Checks for cache-control header on SW file and * warns the developer if it exists with a value * other than max-age=0 or no-cache. + * + * @private */ async function checkSWFileCacheHeaders() { try {