Skip to content

Commit b2c66d9

Browse files
committed
Format code and fix README
1 parent 50e0c45 commit b2c66d9

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# diavirt
22

3-
[![GitHub Workflow](https://github.com/kendfinger/diavirt/actions/workflows/macos.yml/badge.svg)](https://github.com/kendfinger/asset-cache-tool/actions/workflows/macos.yml)
3+
[![GitHub Workflow](https://github.com/kendfinger/diavirt/actions/workflows/macos.yml/badge.svg)](https://github.com/kendfinger/diavirt/actions/workflows/macos.yml)
44
[![Latest Build](https://shields.io/badge/download-nightly-blue)](https://nightly.link/kendfinger/diavirt/workflows/macos/main/diavirt)
55
[![Latest Release](https://shields.io/github/v/release/kendfinger/diavirt?display_name=tag&sort=semver)](https://github.com/kendfinger/diavirt/releases/latest)
66

Sources/diavirt/VirtualMachine.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ class DAVirtualMachine: NSObject, WireProtocol, VZVirtualMachineDelegate {
6161
self.writeProtocolEvent(StateEvent("runtime.started"))
6262
}
6363
}
64-
64+
6565
DiavirtCommand.Global.installationObserver = installer.progress.observe(\.fractionCompleted, options: [.initial, .new]) { _, change in
6666
self.writeProtocolEvent(InstallationProgressEvent(progress: change.newValue! * 100.0))
6767
}

Sources/diavirt/WireModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ struct PipeDataEvent: WireEvent {
5757
struct InstallationProgressEvent: WireEvent {
5858
var type: String = "installation.progress"
5959
let progress: Double
60-
60+
6161
init(progress: Double) {
6262
self.progress = progress
6363
}

0 commit comments

Comments
 (0)