Skip to content

Commit efb07fc

Browse files
committed
Updated doxdox to latest.
Changed utils.findPackage to utils.findPackagePath. Passed package.json contents to doxdox.parseInput.
1 parent 9385ae5 commit efb07fc

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"version": "0.0.6",
55
"license": "MIT",
66
"dependencies": {
7-
"doxdox": "0.0.18",
7+
"doxdox": "0.1.0",
88
"extend": "2.0.0"
99
},
1010
"keywords": [

tasks/doxdox.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = function (grunt) {
3030

3131
if (!config.package) {
3232

33-
config.package = utils.findPackage(input);
33+
config.package = utils.findPackagePath(input);
3434

3535
}
3636

@@ -60,7 +60,8 @@ module.exports = function (grunt) {
6060

6161
doxdox.parseInput(
6262
path.normalize(path.resolve(input)),
63-
config
63+
config,
64+
config.package
6465
).then(function (content) {
6566

6667
fs.writeFileSync(output, content, 'utf8');

0 commit comments

Comments
 (0)