Skip to content

Commit

Permalink
Fix linting errors (#622)
Browse files Browse the repository at this point in the history
  • Loading branch information
langpavel authored and koistya committed Apr 25, 2016
1 parent 03bcce4 commit 925806e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/extractMessages.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ const GLOB_PATTERN = 'src/**/*.{js,jsx}';
const fileToMessages = {};
let messages = {};

async function writeMessages(fileName, messages) {
await fs.writeFile(fileName, JSON.stringify(messages, null, 2) + '\n');
async function writeMessages(fileName, msgs) {
await fs.writeFile(fileName, `${JSON.stringify(msgs, null, 2)}\n`);
}

// merge messages to source files
Expand Down

0 comments on commit 925806e

Please sign in to comment.