Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[FEATURE] Codacy fix (LRN-49160)
  • Loading branch information
danny-beton-lrn committed Dec 2, 2025
commit 9ab0bef335c3bad7be6e0117a51a13c549e1e7a0
2 changes: 1 addition & 1 deletion lib/DataApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
if (typeof page.data === 'object' && !Array.isArray(page.data)) {
// If data is an object (not array), yield key-value pairs
for (const [key, value] of Object.entries(page.data)) {
yield { [key]: value };
yield{ [key]: value };

Check notice on line 196 in lib/DataApi.js

View check run for this annotation

Codacy Production / Codacy Static Code Analysis

lib/DataApi.js#L196

Unnecessary block.
}
} else if (Array.isArray(page.data)) {
// If data is an array, yield each item
Expand Down