File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,9 @@ var annotations_exporter = function (pl) {
1616 try {
1717 var oldAnnotations = fs . readFileSync ( path . resolve ( paths . source . annotations , 'annotations.js' ) , 'utf8' ) ;
1818 } catch ( ex ) {
19- console . log ( 'annotations.js file missing from ' + paths . source . annotations + '. This may be expected.' ) ;
19+ if ( pl . config . debug ) {
20+ console . log ( 'annotations.js file missing from ' + paths . source . annotations + '. This may be expected.' ) ;
21+ }
2022 return [ ] ;
2123 }
2224
@@ -43,7 +45,9 @@ var annotations_exporter = function (pl) {
4345 try {
4446 annotationsMD = fs . readFileSync ( path . resolve ( paths . source . annotations , 'annotations.md' ) , 'utf8' ) ;
4547 } catch ( ex ) {
46- console . log ( 'annotations.md file missing from ' + paths . source . annotations + '. This may be expected.' ) ;
48+ if ( pl . config . debug ) {
49+ console . log ( 'annotations.md file missing from ' + paths . source . annotations + '. This may be expected.' ) ;
50+ }
4751 return [ ] ;
4852 }
4953
You can’t perform that action at this time.
0 commit comments