mirror of
https://github.com/JuanCanham/HackMyResume.git
synced 2024-11-22 00:10:15 +00:00
The ANALYZE command now excludes private fields by default for consistency.
This commit is contained in:
parent
664eea752f
commit
fe46d15031
2
dist/verbs/analyze.js
vendored
2
dist/verbs/analyze.js
vendored
@ -58,7 +58,7 @@ Implementation of the 'analyze' verb for HackMyResume.
|
||||
format: 'FRESH',
|
||||
objectify: true,
|
||||
inner: {
|
||||
"private": opts["private"]
|
||||
"private": opts["private"] === true
|
||||
}
|
||||
}, this);
|
||||
if (opts.assert && this.hasError()) {
|
||||
|
@ -33,7 +33,9 @@ _analyze = ( sources, dst, opts ) ->
|
||||
|
||||
nlzrs = _loadInspectors()
|
||||
results = _.map sources, (src) ->
|
||||
r = ResumeFactory.loadOne src, format: 'FRESH', objectify: true, inner: { private: opts.private }, @
|
||||
r = ResumeFactory.loadOne src, format: 'FRESH', objectify: true, inner: {
|
||||
private: opts.private is true
|
||||
}, @
|
||||
return { } if opts.assert and @hasError()
|
||||
|
||||
if r.fluenterror
|
||||
|
Loading…
Reference in New Issue
Block a user