Skip to content

Commit 3dddf7e

Browse files
committed
fix(conf): process ru comments in tsconfig.json
commit_hash:e91ce4b94e88fc391c94405c4abdcbc1c30136fd
1 parent 3c5cdaf commit 3dddf7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/plugins/lib/nots/typescript/ts_config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def __init__(self, path):
6464

6565
def read(self):
6666
try:
67-
with open(self.path) as f:
67+
with open(self.path, encoding="utf-8") as f:
6868
self.data = self.rj.load(f, parse_mode=(self.rj.PM_COMMENTS | self.rj.PM_TRAILING_COMMAS))
6969

7070
except Exception as e:

0 commit comments

Comments
 (0)