Skip to content

Commit

Permalink
issue/3126 Bugfix: read json not string buffer
Browse files Browse the repository at this point in the history
fixes #3126
  • Loading branch information
oliverfoster authored Apr 14, 2021
1 parent 6b65065 commit fb15146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grunt/helpers/Translate.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ class Translate {
let importData;
switch (format) {
case 'json':
importData = fs.readFileSync(langFiles[0]);
importData = fs.readJSONSync(langFiles[0]);
break;
case 'csv':
default:
Expand Down

0 comments on commit fb15146

Please sign in to comment.