diff --git a/.travis.yml b/.travis.yml index 6dc9030..87e058b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,4 +28,4 @@ script: fi after_success: - - eval "$(curl -sL https://raw.githubusercontent.com/vapor-community/swift/master/codecov)" + - eval "$(curl -sL https://raw.githubusercontent.com/vapor-community/swift/swift-4-codecov/codecov-swift4)" diff --git a/Sources/MarkdownProvider/Provider.swift b/Sources/MarkdownProvider/Provider.swift index 72c676f..7894cbe 100644 --- a/Sources/MarkdownProvider/Provider.swift +++ b/Sources/MarkdownProvider/Provider.swift @@ -2,18 +2,18 @@ import Vapor import LeafProvider public struct Provider: Vapor.Provider { - + public static let repositoryName = "markdown-provider" - + public func boot(_ drop: Droplet) { guard let renderer = drop.view as? LeafRenderer else { - print("LeafMarkdown only supports Leaf as a renderer") + print("Markdown Provider only supports Leaf as a renderer") return } - + renderer.stem.register(Markdown()) } - + public init(config: Config) throws {} public init() {} public func boot(_ config: Config) throws {}