Files
klz-cables.com/.pnpm-store/v10/files/94/a52ef2ebdc28710f170bfd26a9b72fc4e78d249da125dd228eacf2835b1855b8f9f1acbb740832a75db8f42121fcabd81a7593d8b8bd45ce2b3f51c2981161
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

1 line
478 B
Plaintext

{"version":3,"file":"throw-if-empty.js","names":[],"sources":["../../../src/rest/utils/throw-if-empty.ts"],"sourcesContent":["/**\n *\n * @param value\n * @param message\n * @throws Throws an error if an empty array or string is provided\n */\nexport const throwIfEmpty = (value: string | unknown[], message: string) => {\n\tif (value.length === 0) {\n\t\tthrow new Error(message);\n\t}\n};\n"],"mappings":"AAMA,MAAa,GAAgB,EAA2B,IAAoB,CAC3E,GAAI,EAAM,SAAW,EACpB,MAAU,MAAM,EAAQ"}