tools: remove optional parentheses around arrow function parameters

This commit is contained in:
Bert Belder 2018-11-26 15:52:34 -07:00
parent 11633bf403
commit fca062c60d
No known key found for this signature in database
GPG Key ID: 7A77887B2E2ED461
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ let stripGuardsEnabled = false;
process.argv
.slice(2)
.forEach((arg) => {
.forEach(arg => {
let match;
if ((match = /^-I(.*)$/.exec(arg)))
includeDirs.push(match[1]);

View File

@ -1,7 +1,7 @@
const exec = require('child_process').execSync;
const resolve = require('path').resolve;
const getSHA = (s) => s.match(/^\s*([0-9a-f]{40})\s*$/i)[1];
const getSHA = s => s.match(/^\s*([0-9a-f]{40})\s*$/i)[1];
const inherit = { stdio: 'inherit' };
const utf8 = { encoding: 'utf8' };