Skip to content

Commit

Permalink
fix: fix default configuration values
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Oct 28, 2024
1 parent ed03f8a commit 338fa22
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/ts-doc/src/context/context.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ module.exports = {
},

set(obj) {
this.settings = obj;
Object.assign(this.settings, obj);
},

readPkg() {
Expand Down
2 changes: 1 addition & 1 deletion packages/ts-doc/src/tasks/build-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.exports = {
context.set(config);
return Promise.resolve()
.then(() => context.readPkg())
.then(() => scanComponents(config.templatesDir))
.then(() => scanComponents(context.templatesDir))
.then(() => scanFiles(context.scanPatterns))
.then(() => {
let symbols = 0;
Expand Down

0 comments on commit 338fa22

Please sign in to comment.