Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: add escape from failed guard condition #114

Merged
merged 2 commits into from
Jun 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Mux-Upload-SDK.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|
s.name = 'Mux-Upload-SDK'
s.module_name = 'MuxUploadSDK'
s.version = '1.0.0'
s.version = '1.0.1'
s.summary = 'Upload video to Mux.'
s.description = 'A library for uploading video to Mux. Similar to UpChunk, but for iOS.'

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ extension DirectUpload {
options: DirectUploadOptions
) {
guard let urlAsset = inputAsset as? AVURLAsset else {
precondition(
false,
fatalError(
"Only assets with URLs can be uploaded"
)
}
Expand Down
2 changes: 1 addition & 1 deletion Sources/MuxUploadSDK/PublicAPI/SemanticVersion.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public struct SemanticVersion {
/// Minor version component.
public static let minor = 0
/// Patch version component.
public static let patch = 0
public static let patch = 1

/// String form of the version number in the format X.Y.Z
/// where X, Y, and Z are the major, minor, and patch
Expand Down
Loading