mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-07-03 17:01:05 +01:00
Finish HackMyCore reshaping.
Reintroduce HackMyCore, dropping the interim submodule, and reorganize and improve tests.
This commit is contained in:
7
src/utils/file-contains.coffee
Normal file
7
src/utils/file-contains.coffee
Normal file
@ -0,0 +1,7 @@
|
||||
###*
|
||||
Definition of the SyntaxErrorEx class.
|
||||
@module file-contains.js
|
||||
###
|
||||
|
||||
module.exports = ( file, needle ) ->
|
||||
require('fs').readFileSync(file,'utf-8').indexOf( needle ) > -1
|
Reference in New Issue
Block a user