Run Prettier JS (#6795)

This commit is contained in:
Diamond Lewis
2020-07-13 13:06:52 -05:00
committed by GitHub
parent ebb0727793
commit e6a6354b29
47 changed files with 313 additions and 329 deletions

View File

@@ -1,5 +1,5 @@
function numberParser(key) {
return function(opt) {
return function (opt) {
const intOpt = parseInt(opt);
if (!Number.isInteger(intOpt)) {
throw new Error(`Key ${key} has invalid value ${opt}`);
@@ -9,7 +9,7 @@ function numberParser(key) {
}
function numberOrBoolParser(key) {
return function(opt) {
return function (opt) {
if (typeof opt === 'boolean') {
return opt;
}