mirror of
https://github.com/anuraghazra/github-readme-stats.git
synced 2025-03-07 15:08:07 +08:00
Refactor: Fixed returns statement for wakatime card functions docstrings (#2934)
This commit is contained in:
parent
1bfad4604d
commit
9ca24c67cc
@ -28,7 +28,7 @@ const languageColors = require("../common/languageColors.json"); // now works
|
||||
* @param {object} props The function properties.
|
||||
* @param {string} props.color No coding activity text color.
|
||||
* @param {string} props.text No coding activity translated text.
|
||||
* @return {string} No coding activity SVG node string.
|
||||
* @returns {string} No coding activity SVG node string.
|
||||
*/
|
||||
const noCodingActivityNode = ({ color, text }) => {
|
||||
return `
|
||||
@ -143,7 +143,7 @@ const createTextNode = ({
|
||||
* hiding languages.
|
||||
*
|
||||
* @param {import("../fetchers/types").WakaTimeLang[]} languages The languages array.
|
||||
* @return {void} The recalculated languages array.
|
||||
* @returns {void} The recalculated languages array.
|
||||
*/
|
||||
const recalculatePercentages = (languages) => {
|
||||
const totalSum = languages.reduce(
|
||||
|
Loading…
Reference in New Issue
Block a user