File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -33,4 +33,4 @@ test_script:
3333 - yarn lint
3434 - yarn test -i
3535 - yarn codecov
36- - yarn cypress run --config watchForFileChanges=false --record
36+ - yarn cypress run --config watchForFileChanges=false
Original file line number Diff line number Diff line change 1- const config = require ( 'jsdoc/env' ) ;
1+ const env = require ( 'jsdoc/env' ) ;
22const getTemplatePath = require ( './lib/core/getTemplatePath' ) ;
33
4+ const config = env . conf || { } ;
5+
46config [ 'jsdoc-vuejs' ] = config [ 'jsdoc-vuejs' ] || { } ;
57
68// Detect JSDoc template if not specified
79if ( ! Object . prototype . hasOwnProperty . call ( config [ 'jsdoc-vuejs' ] , 'template' ) ) {
8- config [ 'jsdoc-vuejs' ] . template = getTemplatePath ( config . opts . template || 'default' ) ;
10+ config [ 'jsdoc-vuejs' ] . template = getTemplatePath ( env . opts . template || 'default' ) ;
911}
1012
1113module . exports = config ;
You can’t perform that action at this time.
0 commit comments