feat: label un-audited challenges (#41002)

Co-authored-by: Nicholas Carrigan <nhcarrigan@gmail.com>
Co-authored-by: Mrugesh Mohapatra <me@raisedadead.com>
Co-authored-by: Ahmad Abdolsaheb <ahmad.abdolsaheb@gmail.com>
Co-authored-by: Mrugesh Mohapatra <1884376+raisedadead@users.noreply.github.com>
This commit is contained in:
Oliver Eyton-Williams
2021-02-11 13:40:32 +01:00
committed by GitHub
parent c9de726d6a
commit 6c1f6bebed
20 changed files with 268 additions and 189 deletions

View File

@@ -91,7 +91,7 @@ const noEmptyObjectValues = (obj, namespace = '') => {
emptyKeys.push(
noEmptyObjectValues(obj[key], namespace ? `${namespace}.${key}` : key)
);
} else if (!obj[key] && typeof obj[key] !== 'boolean') {
} else if (!obj[key]) {
emptyKeys.push(namespace ? `${namespace}.${key}` : key);
}
}