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 @@ -99,14 +99,14 @@ function factory( options ) {
9999 }
100100
101101 if ( missingRoot . length > 0 ) {
102- msg = 'Missing required root-level sections: `' + missingRoot . join ( '`, `' ) + '`. Required sections are: `' + requiredRootSections . join ( '`, `' ) + '`. missing-required-sections' ;
102+ msg = 'Missing required root-level sections: `' + missingRoot . join ( '`, `' ) + '`. Required sections are: `' + requiredRootSections . join ( '`, `' ) + '`. missing-required-sections' ;
103103 debug ( msg ) ;
104104 file . message ( msg , tree ) ;
105105 }
106106
107107 // If 'c' section exists, check its requirements:
108108 if ( sectionsFound . root . c ) {
109- requiredCSections = ( schema . c ) ? ( schema . c . required || [ ] ) : [ ] ;
109+ requiredCSections = ( schema . c ) ? ( schema . c . required || [ ] ) : [ ] ;
110110
111111 // Check for missing required C sections:
112112 missingC = [ ] ;
@@ -117,7 +117,7 @@ function factory( options ) {
117117 }
118118
119119 if ( missingC . length > 0 ) {
120- msg = 'Missing required sections in "c" section: `' + missingC . join ( '`, `' ) + '`. Required C sections are: `' + requiredCSections . join ( '`, `' ) + '`. missing-required-c-sections' ;
120+ msg = 'Missing required sections in "c" section: `' + missingC . join ( '`, `' ) + '`. Required C sections are: `' + requiredCSections . join ( '`, `' ) + '`. missing-required-c-sections' ;
121121 debug ( msg ) ;
122122 file . message ( msg , sectionsFound . root . c . node ) ;
123123 }
You can’t perform that action at this time.
0 commit comments