Skip to content

Commit b2f6d4d

Browse files
committed
run make fmt
1 parent b230226 commit b2f6d4d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Sources/ContainerCommands/Image/ImageLoad.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ extension Application {
4444
defer {
4545
try? FileManager.default.removeItem(at: tempFile)
4646
}
47-
47+
4848
// Read from stdin
4949
if input == nil {
5050
guard FileManager.default.createFile(atPath: tempFile.path(), contents: nil) else {

Sources/ContainerCommands/Image/ImageSave.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -95,19 +95,19 @@ extension Application {
9595
defer {
9696
try? FileManager.default.removeItem(at: tempFile)
9797
}
98-
98+
9999
guard FileManager.default.createFile(atPath: tempFile.path(), contents: nil) else {
100100
throw ContainerizationError(.internalError, message: "unable to create temporary file")
101101
}
102-
102+
103103
try await ClientImage.save(references: references, out: output ?? tempFile.path(), platform: p)
104-
104+
105105
// Write to stdout
106106
if output == nil {
107107
guard let outputHandle = try? FileHandle(forReadingFrom: tempFile) else {
108108
throw ContainerizationError(.internalError, message: "unable to open temporary file for reading")
109109
}
110-
110+
111111
let bufferSize = 4096
112112
while true {
113113
let chunk = outputHandle.readData(ofLength: bufferSize)

Tests/CLITests/Subcommands/Images/TestCLIImages.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ extension TestCLIImagesCommand {
359359
return
360360
}
361361
}
362-
362+
363363
@Test func testImageSaveAndLoadStdinStdout() throws {
364364
do {
365365
// 1. pull image

0 commit comments

Comments
 (0)