Skip to content

Commit

Permalink
Reverted swift package version back to 5.6
Browse files Browse the repository at this point in the history
Fixed bug introduced in last version, which broke unit tests as well
  • Loading branch information
Alex da Franca committed Jun 16, 2024
1 parent 1e1da8c commit cd49f23
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Version 1.6.3 - 2024-06-16
### CHANGES:
Reverted swift package version back to 5.6
Fixed bug introduced in last version, which broke unit tests as well

## Version 1.6.2 - 2024-06-14
### CHANGES:
Fix crash for cobertura coverage converter
Expand Down
2 changes: 1 addition & 1 deletion CommandlineTool/main.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import ArgumentParser
import Foundation
import XcresultparserLib

private let marketingVersion = "1.6.2"
private let marketingVersion = "1.6.3"

struct xcresultparser: ParsableCommand {
static let configuration = CommandConfiguration(
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.9
// swift-tools-version:5.6
import PackageDescription

let package = Package(
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ You should see the tool respond like this:
```
Error: Missing expected argument '<xcresult-file>'
OVERVIEW: xcresultparser 1.6.1
OVERVIEW: xcresultparser 1.6.3
Interpret binary .xcresult files and print summary in different formats: txt,
xml, html or colored cli output.
Expand Down
2 changes: 1 addition & 1 deletion Sources/xcresultparser/XCResultFormatter.swift
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ public struct XCResultFormatter {
let covPercent = percentFormatter.unwrappedString(for: target.lineCoverage * 100)
executableLines += target.executableLines
coveredLines += target.coveredLines
guard coverageReportFormat == .totals else {
guard coverageReportFormat != .totals else {
return CodeCoverageParseResult(lines: lines, executableLines: executableLines, coveredLines: coveredLines)
}
lines.append(
Expand Down

0 comments on commit cd49f23

Please sign in to comment.