diff --git a/docs/default-theme-config/README.md b/docs/default-theme-config/README.md
index 298016b5ad..f05425ab18 100644
--- a/docs/default-theme-config/README.md
+++ b/docs/default-theme-config/README.md
@@ -358,7 +358,7 @@ Note that it's `off` by default. If given a `string`, it will be displayed as a
## Service Worker
-The `themeConfig.serviceWorker` option allows you to configure about service worker.
+The `themeConfig.serviceWorker` option allows you to configure the service worker.
::: tip
Please do not confuse this option with [Config > serviceWorker](../config/README.md#serviceworker), [Config > serviceWorker](../config/README.md#serviceworker) is **site-level**, while this option is **theme-level**.
@@ -366,7 +366,7 @@ Please do not confuse this option with [Config > serviceWorker](../config/README
### Popup UI to refresh contents
-The `themeConfig.serviceWorker.updatePopup` option enables the popup to refresh contents. The popup will be shown when the site is updated (i.e. service worker is updated). It provides `refresh` button to allow users to refresh contents immediately.
+The `themeConfig.serviceWorker.updatePopup` option enables a popup to refresh site content. The popup will be shown when the site is updated (i.e. service worker is updated). It provides a `refresh` button to allow users to refresh contents immediately.
::: tip NOTE
If without the `refresh` button, the new service worker will be active after all [clients](https://developer.mozilla.org/en-US/docs/Web/API/Clients) are closed. This means that visitors cannot see new contents until they close all tabs of your site. But the `refresh` button activates the new service worker immediately.
diff --git a/lib/util/logger.js b/lib/util/logger.js
index 9fd1a9a296..84e07e861b 100644
--- a/lib/util/logger.js
+++ b/lib/util/logger.js
@@ -45,4 +45,3 @@ for (const type in logTypes) {
}
module.exports = logger
-module.exports.getLoggerFn = getLoggerFn