2016-01-27 10:29:26 +00:00
|
|
|
(function() {
|
2018-02-12 05:05:29 +00:00
|
|
|
/**
|
|
|
|
Definition of the SyntaxErrorEx class.
|
|
|
|
@module file-contains.js
|
|
|
|
*/
|
2016-01-27 10:29:26 +00:00
|
|
|
module.exports = function(file, needle) {
|
|
|
|
return require('fs').readFileSync(file, 'utf-8').indexOf(needle) > -1;
|
|
|
|
};
|
|
|
|
|
|
|
|
}).call(this);
|
2016-02-02 02:14:36 +00:00
|
|
|
|
|
|
|
//# sourceMappingURL=file-contains.js.map
|