Skip to content

Commit

Permalink
feat(config): remove config.importPathPrefix warning
Browse files Browse the repository at this point in the history
  • Loading branch information
h13i32maru committed Sep 19, 2016
1 parent b2d1eab commit a665c5d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions src/ESDoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,9 +176,7 @@ export default class ESDoc {
}

static _deprecatedConfig(config) {
if (config.importPathPrefix) {
console.log('[deprecated] config.importPathPrefix is deprecated. use esdoc-importpath-plugin(https://github.com/esdoc/esdoc-importpath-plugin)');
}
// do nothing
}

/**
Expand Down
1 change: 0 additions & 1 deletion src/Typedef/typedef.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
* @property {boolean} [debug=false]
* @property {string} [index="./README.md"]
* @property {string} [package="./package.json"]
* @property {string} [importPathPrefix=""]
* @property {string[]} [styles=[]]
* @property {string[]} [scripts=[]]
* @property {{type: string, source: string, includes: string[], excludes: string[]}} test
Expand Down
1 change: 0 additions & 1 deletion test/fixture/package/esdoc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"debug": false,
"index": "./test/fixture/package/README.md",
"package": "./test/fixture/package/package.json",
"importPathPrefix": "out",
"title": "ESDoc Test Fixture",
"test": {
"type": "mocha",
Expand Down

0 comments on commit a665c5d

Please sign in to comment.