Skip to content

Commit 6a5a399

Browse files
authored
Include prerelease versions in Contao constraint check (#889)
1 parent 7436077 commit 6a5a399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store/packages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export default {
115115
},
116116
contaoConstraint: (s, g) =>
117117
g.packageConstraint('contao/manager-bundle') ? coerce(g.packageConstraint('contao/manager-bundle'), { includePrerelease: true }).toString() : '',
118-
contaoSupported: (s, g) => (constraint) => (constraint ? intersects(constraint, g.contaoConstraint, true) : true),
118+
contaoSupported: (s, g) => (constraint) => (constraint ? intersects(constraint, g.contaoConstraint, { includePrerelease: true, loose: true }) : true),
119119
},
120120

121121
mutations: {

0 commit comments

Comments
 (0)