From fc88c410a147a7778b4e7ed8972a98526dd30ef0 Mon Sep 17 00:00:00 2001 From: C-3PO Date: Fri, 22 Jun 2018 18:25:31 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9A=A0=20Add=20warning=20in=20code=20comment?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ssn/releasePaths.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ssn/releasePaths.ts b/src/ssn/releasePaths.ts index 5d6314e..e74be5e 100644 --- a/src/ssn/releasePaths.ts +++ b/src/ssn/releasePaths.ts @@ -75,6 +75,7 @@ export default function findReleasePath({ product, from, to}: {product: Product, for (let i = 0, il = smallerFroms.length; i < il; i += 1) { const interim = smallerFroms[i]; + //TODO: This sometimes causes a "Maximum call stack size exceeded" error, e.g. for `{ product: '*', from: 1, to: 11 }` const releasePath = findReleasePath({ product, from, to: interim} ); if (releasePath.length > 0) { return [...releasePath, [interim, to]];