@@ -983,19 +983,15 @@ _isImports_, _conditions_)
983983
984984**PATTERN\_ KEY\_ COMPARE**(_keyA_, _keyB_)
985985
986- > 1. Assert: _keyA_ ends with _"/"_ or contains only a single _"\* "_.
987- > 2. Assert: _keyB_ ends with _"/"_ or contains only a single _"\* "_.
988- > 3. Let _baseLengthA_ be the index of _"\* "_ in _keyA_ plus one, if _keyA_
989- > contains _"\* "_, or the length of _keyA_ otherwise.
990- > 4. Let _baseLengthB_ be the index of _"\* "_ in _keyB_ plus one, if _keyB_
991- > contains _"\* "_, or the length of _keyB_ otherwise.
986+ > 1. Assert: _keyA_ contains only a single _"\* "_.
987+ > 2. Assert: _keyB_ contains only a single _"\* "_.
988+ > 3. Let _baseLengthA_ be the index of _"\* "_ in _keyA_.
989+ > 4. Let _baseLengthB_ be the index of _"\* "_ in _keyB_.
992990> 5. If _baseLengthA_ is greater than _baseLengthB_, return -1.
993991> 6. If _baseLengthB_ is greater than _baseLengthA_, return 1.
994- > 7. If _keyA_ does not contain _"\* "_, return 1.
995- > 8. If _keyB_ does not contain _"\* "_, return -1.
996- > 9. If the length of _keyA_ is greater than the length of _keyB_, return -1.
997- > 10. If the length of _keyB_ is greater than the length of _keyA_, return 1.
998- > 11. Return 0.
992+ > 7. If the length of _keyA_ is greater than the length of _keyB_, return -1.
993+ > 8. If the length of _keyB_ is greater than the length of _keyA_, return 1.
994+ > 9. Return 0.
999995
1000996**PACKAGE\_ TARGET\_ RESOLVE**(_packageURL_, _target_, _patternMatch_,
1001997_isImports_, _conditions_)
0 commit comments