Skip to content

Commit

Permalink
fix(ci): don't assume file encoding
Browse files Browse the repository at this point in the history
  • Loading branch information
rektdeckard committed Dec 30, 2024
1 parent 13248a3 commit 596ef0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/sync-docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const SYNC_FILES: Array<string | Array<string>> = [
for (const file of SYNC_FILES) {
const fileName = Array.isArray(file) ? file[0] : file;
const filePath = path.resolve(__dirname, `../${fileName}`);
const fileContent = fs.readFileSync(filePath, "utf8");
const fileContent = fs.readFileSync(filePath);

// If target file has aliases, remove them
if (Array.isArray(file)) {
Expand Down

0 comments on commit 596ef0b

Please sign in to comment.