Skip to content

Commit

Permalink
Attempt to fix up CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Feb 15, 2022
1 parent 6b86aa2 commit e99fc65
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ on:
branches:
- '**'

env:
DEVELOPER_DIR: /Applications/Xcode_13.2.app/Contents/Developer

jobs:
test:
name: Test
runs-on: macOS-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v2
- name: swift test
run: swift test
2 changes: 1 addition & 1 deletion Rearrange/NSTextRange+NSRange.swift
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public extension NSTextRange {
return nil
}

guard let end = provider.location?(docLocation, offsetBy: range.max) else {
guard let end = provider.location?(start, offsetBy: range.length) else {
return nil
}

Expand Down

0 comments on commit e99fc65

Please sign in to comment.