Skip to content

Commit

Permalink
esp32: don't emit dependencies if there aren't any (Moddable-OpenSour…
Browse files Browse the repository at this point in the history
  • Loading branch information
mkellner authored and cmidgley committed Sep 24, 2024
1 parent c1c4d20 commit 7448b1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/mcmanifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ otadata, data, ota, , ${OTADATA_SIZE},`;
}
}
if (("esp32" == tool.platform) &&
((tool.dependencies) || (tool.environment.USE_USB == 1))) {
((tool.dependencies?.length > 0) || (tool.environment.USE_USB == 1))) {

var dep, did = 0;
let depStr = "BUILD_DEPENDENCIES = ";
Expand Down

0 comments on commit 7448b1b

Please sign in to comment.