Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
read: function (filename, loadOptions) {
dependencies.push(filename);
var contents;
var replacementFunc = findReplacementFunc(plugins, 'read');
if (replacementFunc) {
contents = replacementFunc(filename, options);
} else {
contents = load.read(filename, loadOptions);
}
debug_sources[filename] = contents;
return contents;
}
});