diff --git a/peekaboo-cli/Sources/peekaboo/ImageCommand.swift b/peekaboo-cli/Sources/peekaboo/ImageCommand.swift index 62780a2..d87aa90 100644 --- a/peekaboo-cli/Sources/peekaboo/ImageCommand.swift +++ b/peekaboo-cli/Sources/peekaboo/ImageCommand.swift @@ -139,9 +139,9 @@ struct ImageCommand: ParsableCommand { let displayID = displays[screenIndex] let fileName = generateFileName(displayIndex: screenIndex) let filePath = getOutputPath(fileName) - + try captureDisplay(displayID, to: filePath) - + let savedFile = SavedFile( path: filePath, item_label: "Display \(screenIndex + 1) (Index \(screenIndex))",