File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -436,12 +436,8 @@ async function build() {
436436 return resolvedConfig
437437 }
438438
439- function extractContent ( config ) {
440- return config . content . files
441- }
442-
443439 function extractFileGlobs ( config ) {
444- return extractContent ( config )
440+ return config . content . files
445441 . filter ( ( file ) => {
446442 // Strings in this case are files / globs. If it is something else,
447443 // like an object it's probably a raw content object. But this object
@@ -452,7 +448,7 @@ async function build() {
452448 }
453449
454450 function extractRawContent ( config ) {
455- return extractContent ( config ) . filter ( ( file ) => {
451+ return config . content . files . filter ( ( file ) => {
456452 return typeof file === 'object' && file !== null
457453 } )
458454 }
You can’t perform that action at this time.
0 commit comments