Skip to content

Commit 267ce2f

Browse files
Ignore 3.4.0 since ember-data didn't publish to npm back then & ember 3.4.0 is already processed
1 parent 1c3d13a commit 267ce2f

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

lib/fetch-yui-docs.js

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import pkgVersions from 'pkg-versions'
77
import { all, resolve } from 'rsvp'
88

99
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')
1111

1212
if (!isEmpty(trim(specificDocsVersion)) && !ignorePreviouslyIndexedDoc) {
1313
return isCompatibleVersion && version.includes(specificDocsVersion)
@@ -66,8 +66,16 @@ export default async function fetchYuiDocs(
6666
ignorePreviouslyIndexedDoc
6767
)
6868

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+
)
7179

7280
// During local generation one or the other of these calls to fetchYuiDocsFromNpm return undefined
7381
return [].concat(emberYuidocs || []).concat(emberDataYuidocs || [])

0 commit comments

Comments
 (0)