Skip to content

Commit

Permalink
fix(util): add newlines which improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
narekhovhannisyan committed Jun 13, 2024
1 parent f14790b commit 640b0ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/util/validations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {STRINGS} from '../config/strings';

const {ManifestValidationError, InputValidationError} = ERRORS;
const {VALIDATING_MANIFEST} = STRINGS;

/**
* At least one property defined handler.
*/
Expand Down Expand Up @@ -148,5 +149,6 @@ const flattenPath = (path: (string | number)[]): string => {
const flattenPath = path.map(part =>
typeof part === 'number' ? `[${part}]` : part
);

return flattenPath.join('.');
};

0 comments on commit 640b0ca

Please sign in to comment.