@beseif-solutions/prow-core 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -241,7 +241,7 @@ const getSimpleFieldSchema = (field) => {
|
|
|
241
241
|
case `any`:
|
|
242
242
|
typeSchema = anySchema();
|
|
243
243
|
if (field.allow_nullish) {
|
|
244
|
-
typeSchema = typeSchema.allow(null, ``, 0
|
|
244
|
+
typeSchema = typeSchema.allow(null, ``, 0);
|
|
245
245
|
}
|
|
246
246
|
break;
|
|
247
247
|
case `boolean`:
|
package/package.json
CHANGED
|
@@ -462,7 +462,7 @@ const getSimpleFieldSchema = (field: Field) => {
|
|
|
462
462
|
case `any`:
|
|
463
463
|
typeSchema = anySchema();
|
|
464
464
|
// allow null values for any type
|
|
465
|
-
if (field.allow_nullish) { typeSchema = typeSchema.allow(null, ``, 0
|
|
465
|
+
if (field.allow_nullish) { typeSchema = typeSchema.allow(null, ``, 0); }
|
|
466
466
|
break;
|
|
467
467
|
case `boolean`:
|
|
468
468
|
typeSchema = Joi.bool();
|