Skip to content

Commit dc40767

Browse files
committedJun 23, 2023
fix: fixed export of rangeEnd in postinstall
Signed-off-by: prisis <d.bannert@anolilab.de>
1 parent a14e089 commit dc40767

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎packages/prettier-config/src/postinstall.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ${JSON.stringify(content, undefined, 4)}\n`);
3636
prettierPath,
3737
`${packageIsTypeModule ? "export default" : "module.exports ="} ${JSON.stringify(content, undefined, 2).replace(
3838
"rangeEnd: null,",
39-
"rangeEnd: Infinity,",
39+
"rangeEnd: Number.POSITIVE_INFINITY,",
4040
)}\n`,
4141
"utf-8",
4242
);

0 commit comments

Comments
 (0)
Please sign in to comment.