Skip to content

Commit 9c9142d

Browse files
committed
Fix code formatting
1 parent 20c5918 commit 9c9142d

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

‎src/parse.ts‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -306,13 +306,7 @@ export function parse(source: string): any {
306306
}
307307
}
308308
next()
309-
if (
310-
isWhitespace(ch) ||
311-
ch === ',' ||
312-
ch === '}' ||
313-
ch === ']' ||
314-
done
315-
) {
309+
if (isWhitespace(ch) || ch === ',' || ch === '}' || ch === ']' || done) {
316310
return value
317311
}
318312
throw new SyntaxError(errorSnippet())

0 commit comments

Comments
 (0)