File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -62,10 +62,10 @@ const minutesDir = path.join(dstDir, '/..');
62
62
63
63
const partialsDir = ( 'partials' in config )
64
64
? path . join ( base_dir , config . partials )
65
- : path . join ( base_dir , 'www/_partials/' ) ;
65
+ : path . join ( __dirname , 'www/_partials/' ) ;
66
66
const peoplePath = ( 'people' in config )
67
67
? path . join ( base_dir , config . people )
68
- : path . join ( base_dir , 'www/people.json' ) ;
68
+ : path . join ( __dirname , 'www/people.json' ) ;
69
69
70
70
var htmlHeader = fs . readFileSync (
71
71
path . join ( partialsDir , 'header.html' ) , { encoding : 'utf8' } ) ;
@@ -300,7 +300,7 @@ async.waterfall([ function(callback) {
300
300
}
301
301
302
302
const summaryIntro = fs . readFileSync (
303
- path . join ( base_dir , 'www/_partials/ summary-intro.html' ) , { encoding : 'utf8' } ) ;
303
+ path . join ( partialsDir , 'summary-intro.html' ) , { encoding : 'utf8' } ) ;
304
304
305
305
// write out summary file
306
306
var summaryHtml = htmlHeader + '<div id="info">' + summaryIntro ;
You can’t perform that action at this time.
0 commit comments