node/tools/node_modules/eslint/messages/failed-to-read-json.js
Node.js GitHub Bot 09513cd1a3
tools: update eslint to 8.13.0
PR-URL: https://github.com/nodejs/node/pull/42678
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Mestery <mestery@protonmail.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
2022-04-10 14:13:22 +01:00

11 lines
162 B
JavaScript

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