Skip comment attach when parse JSON (#15583)
This commit is contained in:
1 parent
a97e0b9483
commit
b26efbc98f
1 file changed
+1
@@ -14,6 +14,7 @@ function createJsonParse(options = {}) {
|
||||
ast = parseExpression(text, {
|
||||
tokens: true,
|
||||
ranges: true,
|
||||
attachComment: false,
|
||||
});
|
||||
} catch (/** @type {any} */ error) {
|
||||
if (
|
||||
|
||||
Reference in new issue
Block a user