Skip to content

Commit 12f9b9b

Browse files
authored
[testing] Fix bug in check for modified files (#2568)
1 parent df0f9c3 commit 12f9b9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/run_changed.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async function runTestsOnChangedPackages() {
3838
}
3939
}
4040
}
41-
if (changedPackages.size > 0) {
41+
if (Object.keys(changedPackages).length > 0) {
4242
await runTests(Object.keys(changedPackages));
4343
} else {
4444
console.log(

0 commit comments

Comments
 (0)