While deploying a pH Scale RC I was surprised to find that while getBrands.ts checks the brands option against the release branch package.json the same is not done in setRepoSupportedBrands.js against the package.json on main. @zepumph suggested I create an issue and assign him.
This is the code running the check in getBrands.ts
brands.forEach( brand => assert( supportedBrands.includes( brand ), `Unsupported brand: ${brand}` ) );
While deploying a pH Scale RC I was surprised to find that while getBrands.ts checks the
brandsoption against the release branch package.json the same is not done in setRepoSupportedBrands.js against the package.json on main. @zepumph suggested I create an issue and assign him.This is the code running the check in getBrands.ts