From 6d086b4c406d816aabb2095261b962d576ff6a36 Mon Sep 17 00:00:00 2001 From: Alexandr Garbuzov Date: Wed, 2 Aug 2023 09:58:04 +0300 Subject: [PATCH] Refactor: Wakatime card: Add missing returns statement for createTextNode function (#3032) --- src/cards/wakatime-card.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cards/wakatime-card.js b/src/cards/wakatime-card.js index c76beb08a8271..861b7a137fffc 100644 --- a/src/cards/wakatime-card.js +++ b/src/cards/wakatime-card.js @@ -95,6 +95,7 @@ const createLanguageTextNode = ({ langs, y }) => { * @param {boolean} args.hideProgress Whether to hide the progress bar. * @param {string} args.progressBarColor The color of the progress bar. * @param {string} args.progressBarBackgroundColor The color of the progress bar background. + * @returns {string} The text SVG node. */ const createTextNode = ({ id,