Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ethan Dye <[email protected]>
  • Loading branch information
ecdye committed Sep 22, 2024
1 parent d1b96d6 commit 2794941
Show file tree
Hide file tree
Showing 3 changed files with 805 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Sources/macSubtitleOCR/macSubtitleOCR.swift
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ struct macSubtitleOCR: ParsableCommand {
try manager.moveItem(
at: URL(fileURLWithPath: intermediateFiles[trackNumber]!),
to: URL(fileURLWithPath: inFile).deletingLastPathComponent().appendingPathComponent(fileName))
} else {
} else if inFile.hasSuffix(".mkv") {
try manager.removeItem(at: URL(fileURLWithPath: intermediateFiles[trackNumber]!))
}
}
Expand Down
Loading

0 comments on commit 2794941

Please sign in to comment.