Skip to content

Commit e5d43d5

Browse files
committed
chore: improve func call
1 parent e4fde69 commit e5d43d5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/tools/lib/i18n/toJSON.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ function inlineUTF(properties) {
3838
}
3939

4040
const convertToJSON = async (file, distPath) => {
41-
const properties = PropertiesReader(file)._properties;
42-
inlineUTF(properties);
41+
const properties = inlineUTF(PropertiesReader(file)._properties);
4342
const filename = path.basename(file, path.extname(file));
4443
const language = filename.match(/^messagebundle_(.*?)$/)[1];
4544
if (!allLanguages.includes(language)) {

0 commit comments

Comments
 (0)