packages/mermaid/src/utils/sanitizeDirective.ts
Function sanitizeDirective
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const sanitizeDirective = (args: any): void => {
log.debug('sanitizeDirective called with', args);
// Return if not an object
if (typeof args !== 'object' || args == null) {