MCPcopy Create free account
hub / github.com/TechJeeper/Printventory / normalizePathForDedup

Function normalizePathForDedup

main.js:5683–5687  ·  view source on GitHub ↗
(p)

Source from the content-addressed store, hash-verified

5681 normalizedRating !== '' &&
5682 normalizedRating !== 'all' &&
5683 normalizedRating !== 'undefined' &&
5684 normalizedRating !== 'null'
5685 ) {
5686 if (normalizedRating === 'unrated') {
5687 conditions.push("(rating = 0 OR rating IS NULL)");
5688 } else if (/^[1-5]$/.test(String(normalizedRating))) {
5689 conditions.push("rating = ?");
5690 params.push(parseInt(normalizedRating, 10));

Callers 1

main.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected