mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2025-06-07 21:16:14 +01:00
CONVERT: Improve command consistency.
This commit is contained in:
13
src/utils/resume-detector.coffee
Normal file
13
src/utils/resume-detector.coffee
Normal file
@ -0,0 +1,13 @@
|
||||
###*
|
||||
Definition of the ResumeDetector class.
|
||||
@module utils/resume-detector
|
||||
@license MIT. See LICENSE.md for details.
|
||||
###
|
||||
|
||||
module.exports = ( rez ) ->
|
||||
if rez.meta && rez.meta.format #&& rez.meta.format.substr(0, 5).toUpperCase() == 'FRESH'
|
||||
'fresh'
|
||||
else if rez.basics
|
||||
'jrs'
|
||||
else
|
||||
'unk'
|
Reference in New Issue
Block a user