Skip to content

Commit 358e5d6

Browse files
committed
fix wrong option key
1 parent 0f31bab commit 358e5d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ export default class I18nextPlugin {
267267
delete remains[lng][ns];
268268
const missingPath = getPath(resourceTemplate, undefined, ns);
269269
const stream = fs.createWriteStream(missingPath, {
270-
defaultEncoding: "utf-8"
270+
encoding: "utf-8"
271271
});
272272
const keys = _.sortedUniq(_.sortBy(_.keys(values)));
273273
stream.write("{\n");

0 commit comments

Comments
 (0)