Skip to content

Commit f023810

Browse files
committed
refactor: another map iterator downgrade
1 parent ce2a48a commit f023810

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linter/rules/dataframe-access-validation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export const DATA_FRAME_ACCESS_VALIDATION = {
8989
accesses.push(access);
9090
}
9191

92-
const operations = accessOperations.entries().flatMap(([, operations]) => operations).toArray();
92+
const operations = [...accessOperations.entries()].flatMap(([, operations]) => operations);
9393

9494
const metadata: DataFrameAccessValidationMetadata = {
9595
numOperations: accessOperations.size,

0 commit comments

Comments
 (0)