odin-js-fundamentals-part-4/node_modules/eslint/messages/failed-to-read-json.js

12 lines
162 B
JavaScript

"use strict";
module.exports = function(it) {
const { path, message } = it;
return `
Failed to read JSON file at ${path}:
${message}
`.trimStart();
};