Skip to content

Commit a91c4f3

Browse files
committed
Cleaned commented code
Signed-off-by: JBBianchi <[email protected]>
1 parent 3e5d9ee commit a91c4f3

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/lib/validators.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
*/
1717

1818
import Ajv, { ValidateFunction } from 'ajv';
19-
//import addFormats from 'ajv-formats';
2019
import commonSchema from './schema/common.json';
2120
import eventsChema from './schema/events.json';
2221
import functionsSchema from './schema/functions.json';
@@ -27,7 +26,6 @@ import { validatorsPaths } from './validation/validators-paths';
2726
const schemas: any[] = [commonSchema, eventsChema, functionsSchema, retriesSchema, workflowSchema];
2827
const strict: boolean = false;
2928
const ajv = new Ajv({ schemas, strict });
30-
//addFormats(ajv, ['uri']);
3129
ajv.addFormat('uri', (uri: string): boolean => true);
3230
/**
3331
* A Map of validation functions, where the key is the name of the schema to validate with

0 commit comments

Comments
 (0)