Skip to content

Commit 0088f6c

Browse files
committed
fixed parsing error
1 parent 62320d7 commit 0088f6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

accessibility/scanner/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ function processAccessibilityReport(win){
101101
// If the file is not empty, parse the existing content
102102
if (result.exists && result.content) {
103103
try {
104-
resultsArray = JSON.parse(JSON.stringify(result.content));
104+
resultsArray = JSON.parse(result.content);
105105
} catch (e) {
106106
console.log("parsing error for content " , result.content)
107107
console.log('Error parsing JSON file:', e);

0 commit comments

Comments
 (0)