mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-16 13:50:10 +00:00
15 lines
271 B
JavaScript
15 lines
271 B
JavaScript
|
|
/**
|
|
Definition of the SyntaxErrorEx class.
|
|
@module file-contains.js
|
|
*/
|
|
|
|
(function() {
|
|
module.exports = function(file, needle) {
|
|
return require('fs').readFileSync(file, 'utf-8').indexOf(needle) > -1;
|
|
};
|
|
|
|
}).call(this);
|
|
|
|
//# sourceMappingURL=file-contains.js.map
|