File tree Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Expand file tree Collapse file tree 1 file changed +11
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import pkgVersions from 'pkg-versions'
7
7
import { all , resolve } from 'rsvp'
8
8
9
9
let filterValidVersions = ( specificDocsVersion , ignorePreviouslyIndexedDoc ) => version => {
10
- let isCompatibleVersion = compareVersions ( version , '3.4.0 ' ) !== - 1 && ! version . includes ( 'beta' )
10
+ let isCompatibleVersion = compareVersions ( version , '3.4.1 ' ) !== - 1 && ! version . includes ( 'beta' )
11
11
12
12
if ( ! isEmpty ( trim ( specificDocsVersion ) ) && ! ignorePreviouslyIndexedDoc ) {
13
13
return isCompatibleVersion && version . includes ( specificDocsVersion )
@@ -66,8 +66,16 @@ export default async function fetchYuiDocs(
66
66
ignorePreviouslyIndexedDoc
67
67
)
68
68
69
- let emberYuidocs = await fetchYuiDocsFromNpm ( projects , 'ember' , filterValidVersionsForRequestedDocs )
70
- let emberDataYuidocs = await fetchYuiDocsFromNpm ( projects , 'ember-data' , filterValidVersionsForRequestedDocs )
69
+ let emberYuidocs = await fetchYuiDocsFromNpm (
70
+ projects ,
71
+ 'ember' ,
72
+ filterValidVersionsForRequestedDocs
73
+ )
74
+ let emberDataYuidocs = await fetchYuiDocsFromNpm (
75
+ projects ,
76
+ 'ember-data' ,
77
+ filterValidVersionsForRequestedDocs
78
+ )
71
79
72
80
// During local generation one or the other of these calls to fetchYuiDocsFromNpm return undefined
73
81
return [ ] . concat ( emberYuidocs || [ ] ) . concat ( emberDataYuidocs || [ ] )
You can’t perform that action at this time.
0 commit comments