Skip to content

Commit 173cb4a

Browse files
Fix utf-8
1 parent 41eb7ad commit 173cb4a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/firestore/scripts/extract-api.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/firestore/scripts/extract-api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export function extractPublicIdentifiers(filePaths: string[]): Set<string> {
5050
const publicIdentifiers = new Set<string>();
5151

5252
for (const filePath of filePaths) {
53-
const contents = fs.readFileSync(filePath, { encoding: 'UTF-8' });
53+
const contents = fs.readFileSync(filePath, { encoding: 'utf-8' });
5454
let sourceFile = ts.createSourceFile(
5555
filePath,
5656
contents,

0 commit comments

Comments
 (0)