mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-10-03 07:12:57 +00:00
fix: hide parameter array implementation (#162)
* fix: hide paramter array implementation * chore: parseArray str check * docs: updated readme * chore: add codecov threshold * docs: update docs
This commit is contained in:
1 parent
c2adcfd6fe
commit
aa44bd7615
7 files changed
+35
-35
No files matched your search
+2
-2
@@ -2,7 +2,7 @@ require("dotenv").config();
|
||||
const {
|
||||
renderError,
|
||||
parseBoolean,
|
||||
parseJSON,
|
||||
parseArray,
|
||||
clampValue,
|
||||
CONSTANTS,
|
||||
} = require("../src/utils");
|
||||
@@ -45,7 +45,7 @@ module.exports = async (req, res) => {
|
||||
|
||||
res.send(
|
||||
renderStatsCard(stats, {
|
||||
hide: parseJSON(hide),
|
||||
hide: parseArray(hide),
|
||||
show_icons: parseBoolean(show_icons),
|
||||
hide_title: parseBoolean(hide_title),
|
||||
hide_border: parseBoolean(hide_border),
|
||||
|
||||
Reference in new issue
Block a user