
To be followed by tests and `npm run build`, obviously! Reviewed-on: #1 Co-authored-by: Jack Jackson <scubbojj@gmail.com> Co-committed-by: Jack Jackson <scubbojj@gmail.com>
12 lines
162 B
JavaScript
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();
|
|
};
|