Skip to content

Commit

Permalink
Wrong logic on write-translation.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gimdongwoo committed May 30, 2018
1 parent 5272944 commit bf80b33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/write-translations.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ let currentTranslations = {
'localized-strings': {},
'pages-strings': {},
};
if (fs.existsSync(path)) {
if (fs.existsSync(CWD + '/i18n/en.json')) {
currentTranslations = JSON.parse(
fs.readFileSync(CWD + '/i18n/en.json', 'utf8')
);
Expand Down

0 comments on commit bf80b33

Please sign in to comment.