Files
30-seconds-of-code/node_modules/gatsby/dist/query/utils.js
2019-08-20 15:52:05 +02:00

14 lines
452 B
JavaScript

"use strict";
exports.__esModule = true;
exports.formatErrorDetails = exports.indentString = void 0;
const indentString = string => string.replace(/\n/g, `\n `);
exports.indentString = indentString;
const formatErrorDetails = errorDetails => Array.from(errorDetails.entries()).map(([name, details]) => `${name}:
${indentString(details.toString())}`).join(`\n`);
exports.formatErrorDetails = formatErrorDetails;
//# sourceMappingURL=utils.js.map