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:
33
33
- yarn lint
34
34
- yarn test -i
35
35
- 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' ) ;
2
2
const getTemplatePath = require ( './lib/core/getTemplatePath' ) ;
3
3
4
+ const config = env . conf || { } ;
5
+
4
6
config [ 'jsdoc-vuejs' ] = config [ 'jsdoc-vuejs' ] || { } ;
5
7
6
8
// Detect JSDoc template if not specified
7
9
if ( ! 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' ) ;
9
11
}
10
12
11
13
module . exports = config ;
You can’t perform that action at this time.
0 commit comments