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