Update JS style config, and code to match

This commit is contained in:
Oliver Hamlet
2016-09-14 18:54:59 +01:00
parent 5b2541d008
commit 75dda2c75b
16 changed files with 129 additions and 144 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
/* Convert .po files to .mo files. */
/* eslint-disable no-unused-vars */
'use strict';
const childProcess = require('child_process');
const fs = require('fs');
@@ -12,7 +14,7 @@ function getMsgfmtPath() {
path.join('/', 'usr', 'bin', 'msgfmt'),
];
for (let i = 0; i < paths.length; ++i) {
for (let i = 0; i < paths.length; i += 1) {
if (helpers.fileExists(paths[i])) {
return paths[i];
}
+2
View File
@@ -1,6 +1,8 @@
#!/usr/bin/env node
// Build the UI's index.html file. Takes one argument, which is the path to the
// repository's root.
/* eslint-disable no-unused-vars */
'use strict';
const path = require('path');
const fs = require('fs');