From 7be91397e00147444280b86f5408af159606adf1 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 c76beb08a8271f..861b7a137fffc5 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,