mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-04-19 06:10:28 +01:00
8 lines
177 B
JavaScript
8 lines
177 B
JavaScript
###*
|
|
Definition of the SyntaxErrorEx class.
|
|
@module file-contains.js
|
|
###
|
|
|
|
module.exports = ( file, needle ) ->
|
|
require('fs').readFileSync(file,'utf-8').indexOf( needle ) > -1
|