function constructErrorMessage()

in src/validate-schema.ts [123:134]


function constructErrorMessage(
  errorCounter: number,
  errorItem: string,
  fileName: string,
): string {
  const errorMessage = `>> Error(${errorCounter}): ${errorItem} check the file:\n${chalk.blue.
    underline(getFullPath(
    fileName,
  ))}`;
  consoleLogger.error(`${errorMessage}\n`);
  return errorMessage;
}