Skip to content

Commit

Permalink
πŸ— Fix bug in build target discovery logic (#32307)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimha committed Jan 29, 2021
1 parent 8e842b8 commit 7b09938
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build-system/pr-check/build-targets.js
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ function determineBuildTargets() {
const matcher = targetMatchers[target];
if (matcher(file)) {
buildTargets.add(target);
if (target in nonRuntimeTargets) {
if (nonRuntimeTargets.includes(target)) {
isRuntimeFile = false;
}
}
Expand Down

0 comments on commit 7b09938

Please sign in to comment.