Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@

## Master

- Fix arguments for danger-js to avoid discarding URL which contains `danger-swift` [@417-72KI][] - [#656](https://github.com/danger/swift/pull/656)

## 3.22.0

- Add `.xctestplan` extension to available file extensions [@gsl-anthonymerle][] - [#653](https://github.com/danger/swift/pull/653)
Expand Down
2 changes: 1 addition & 1 deletion Sources/Runner/Commands/RunDangerJS.swift
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func runDangerJSCommandToRunDangerSwift(_ command: DangerCommand, logger: Logger
return nil
}

if arg.contains("danger-swift") || arg == command.rawValue {
if arg.hasSuffix("danger-swift") || arg == command.rawValue {
return nil
}

Expand Down