We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0f49e8 commit 8ef8fa5Copy full SHA for 8ef8fa5
lib/package_info.js
@@ -44,7 +44,7 @@ PackageInfo.prototype.get = function() {
44
// replace header footer with file contents
45
_.extend(result, this._getHeaderFooter(result));
46
47
- if (Object.keys(apidocJson).length === 0)
+ if (Object.keys(apidocJson).length === 0 && ! packageJson.apidoc)
48
app.log.warn('Please create an apidoc.json.');
49
50
return result;
0 commit comments