Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #63 from nodes-vapor/feature/fix-swift-5-warnings
Browse files Browse the repository at this point in the history
Remove redundant access modifiers
  • Loading branch information
cweinberger committed May 7, 2019
2 parents ce1a400 + 4929d0c commit 8c728f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Storage/PathBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ public protocol PathBuilder {
}

public extension PathBuilder {
public func generateFolder(for mime: String?) -> String? {
func generateFolder(for mime: String?) -> String? {
guard let mime = mime else { return nil }
return mime.lowercased().hasPrefix("image") ? "images/original" : "data"
}
Expand Down

0 comments on commit 8c728f8

Please sign in to comment.