tools: remove optional parentheses around arrow function parameters
This commit is contained in:
parent
11633bf403
commit
fca062c60d
@ -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]);
|
||||
|
||||
@ -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' };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user