Skip to content

Commit 127edeb

Browse files
committed
Don't use fancy syntax
1 parent 84791e3 commit 127edeb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dangerfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ if (existsSync(diffPath)) {
99

1010
const uninterestingFiles = [".generated.d.ts", "globalThisBlockscopedProperties.types", "mappedTypeRecursiveInference.types"]
1111
const withoutKnownNormalFails = diffedFiles.filter(diff => {
12-
return uninterestingFiles.filter(suffix => diff.to?.endsWith(suffix)).length > 0
12+
return uninterestingFiles.filter(suffix => diff.to && diff.to.endsWith(suffix)).length > 0
1313
})
1414

1515
const md = ["## Changed baselines from the TypeScript test suite"]

0 commit comments

Comments
 (0)