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, '/..');
6262
6363const partialsDir = ( 'partials' in config )
6464 ? path . join ( base_dir , config . partials )
65- : path . join ( base_dir , 'www/_partials/' ) ;
65+ : path . join ( __dirname , 'www/_partials/' ) ;
6666const peoplePath = ( 'people' in config )
6767 ? path . join ( base_dir , config . people )
68- : path . join ( base_dir , 'www/people.json' ) ;
68+ : path . join ( __dirname , 'www/people.json' ) ;
6969
7070var htmlHeader = fs . readFileSync (
7171 path . join ( partialsDir , 'header.html' ) , { encoding : 'utf8' } ) ;
@@ -300,7 +300,7 @@ async.waterfall([ function(callback) {
300300 }
301301
302302 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' } ) ;
304304
305305 // write out summary file
306306 var summaryHtml = htmlHeader + '<div id="info">' + summaryIntro ;
You can’t perform that action at this time.
0 commit comments