Pull request: client: upd i18n
Updates #2643. Squashed commit of the following: commit d923a934d9bca757f5abd26abc616197e5f1fec9 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Tue Apr 13 19:10:08 2021 +0300 client: upd ru commit 114483ee80a0c850a0c25ce9c419e5d1f69d2fec Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Tue Apr 13 18:43:03 2021 +0300 client: imp en commit 1e57298d66d67ab4a2cbb1c3045094eefb05d667 Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Tue Apr 13 17:46:07 2021 +0300 client: fix ru commit 5baca6561d844fe257ff6f3a70d64c9a7dc2273f Author: Ainar Garipov <A.Garipov@AdGuard.COM> Date: Tue Apr 13 17:39:51 2021 +0300 client: upd i18n
This commit is contained in:
@@ -29,7 +29,7 @@ function writeInFile(filename, body) {
|
||||
return new Promise((resolve, reject) => {
|
||||
if (typeof normalizedBody !== 'string') {
|
||||
try {
|
||||
normalizedBody = JSON.stringify(normalizedBody, null, 4); // eslint-disable-line
|
||||
normalizedBody = JSON.stringify(normalizedBody, null, 4) + '\n'; // eslint-disable-line
|
||||
} catch (err) {
|
||||
reject(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user