Run Prettier JS #2 (#6796)

This commit is contained in:
Diamond Lewis
2020-07-13 17:13:08 -05:00
committed by GitHub
parent e6a6354b29
commit 142eaa71bd
40 changed files with 323 additions and 330 deletions

View File

@@ -137,7 +137,7 @@ class ParseGraphQLController {
}
if (classConfigs !== null) {
if (Array.isArray(classConfigs)) {
classConfigs.forEach((classConfig) => {
classConfigs.forEach(classConfig => {
const errorMessage = this._validateClassConfig(classConfig);
if (errorMessage) {
errorMessages.push(
@@ -334,7 +334,7 @@ class ParseGraphQLController {
const isValidStringArray = function (array): boolean {
return Array.isArray(array)
? !array.some((s) => typeof s !== 'string' || s.trim().length < 1)
? !array.some(s => typeof s !== 'string' || s.trim().length < 1)
: false;
};
/**