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();
 | 
						|
};
 |