12 lines
161 B
JavaScript
12 lines
161 B
JavaScript
"use strict";
|
|
|
|
module.exports = function(it) {
|
|
const { path, message } = it;
|
|
|
|
return `
|
|
Failed to read JSON file at ${path}:
|
|
|
|
${message}
|
|
`.trimLeft();
|
|
};
|