We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c00a669 commit 9d930f3Copy full SHA for 9d930f3
1 file changed
packages/project-editor/build/assets.ts
@@ -1872,7 +1872,7 @@ export async function buildAssets(
1872
result.EEZ_FLOW_IS_USING_CRYPTO_SHA256 = assets.isUsingCrypyoSha256;
1873
1874
// build eez-gui-lite source code
1875
- if (sectionNames!.indexOf("EEZ_GUI_LITE_DECL") !== -1 || sectionNames!.indexOf("EEZ_GUI_LITE_DEF") !== -1) {
+ if (sectionNames && (sectionNames.indexOf("EEZ_GUI_LITE_DECL") !== -1 || sectionNames.indexOf("EEZ_GUI_LITE_DEF") !== -1)) {
1876
const buildEezGuiLite = new BuildEezGuiLite(assets);
1877
if (sectionNames!.indexOf("EEZ_GUI_LITE_DECL") !== -1) {
1878
result.EEZ_GUI_LITE_DECL = buildEezGuiLite.buildDecl();
0 commit comments