From 5ab3b365dd7ee2b984eab5863b4154d9156fde9e Mon Sep 17 00:00:00 2001 From: alexandercerutti Date: Thu, 23 Aug 2018 13:41:36 +0200 Subject: [PATCH] Fixed comments --- index.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/index.js b/index.js index 897aaa8..4827cdb 100644 --- a/index.js +++ b/index.js @@ -91,9 +91,7 @@ class Pass { listByFolder.forEach((folder, index) => bundle.push(...folder.map(f => path.join(L10N[index], f)))); - /* - * Getting all bundle file buffers, pass.json included and appending - */ + /* Getting all bundle file buffers, pass.json included, and appending */ let bundleBuffers = bundle.map(f => readFile(path.resolve(this.model, f))); let passBuffer = passExtractor(); @@ -103,8 +101,10 @@ class Pass { Object.keys(this.l10n).forEach(l => { const strings = this._generateStringFile(l); - // if .string file buffer is empty, no translations were added - // but still wanted to include the language + /* + * if .string file buffer is empty, no translations were added + * but still wanted to include the language + */ if (strings.length) { buffers.push(strings);