diff --git a/dist/verbs/analyze.js b/dist/verbs/analyze.js index c83ee7d..2f2d29b 100644 --- a/dist/verbs/analyze.js +++ b/dist/verbs/analyze.js @@ -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()) { diff --git a/src/verbs/analyze.coffee b/src/verbs/analyze.coffee index 6df67e9..8905ba5 100644 --- a/src/verbs/analyze.coffee +++ b/src/verbs/analyze.coffee @@ -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