Skip to content

Commit

Permalink
Merge pull request apidoc#67 from rodrigoalviani/master
Browse files Browse the repository at this point in the history
Fix @apiversion error message
  • Loading branch information
rottmann authored Jul 27, 2017
2 parents 6c828b5 + 481842d commit 2069f4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/parsers/api_version.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function parse(content) {

if ( ! semver.valid(content))
throw new ParameterError('Version format not valid.',
'apiVersion', '@apiVersion major.minor.patch', '@apiDefine 1.2.3');
'apiVersion', '@apiVersion major.minor.patch', '@apiVersion 1.2.3');

return {
version: content
Expand Down

0 comments on commit 2069f4e

Please sign in to comment.