Skip to content

Commit

Permalink
Merge pull request #42 from simonihmig/patch-1
Browse files Browse the repository at this point in the history
Fix capabilities semver range for Ember 4
  • Loading branch information
josemarluedke authored Nov 18, 2021
2 parents 9d1d4f6 + f8ee10f commit 9d1d764
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/modifiers/focus-trap.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { dependencySatisfies, macroCondition } from '@embroider/macros';
export default setModifierManager(
() => ({
capabilities: capabilities(
macroCondition(dependencySatisfies('ember-source', '^3.22.0'))
macroCondition(dependencySatisfies('ember-source', '^3.22.0 || >= 4.0'))
? '3.22'
: '3.13'
),
Expand Down

0 comments on commit 9d1d764

Please sign in to comment.