-import Danger 
+import Danger
 import DangerSwiftProse // package: https://github.com/f-meloni/danger-swift-prose.git
 import DangerXCodeSummary // package: https://github.com/f-meloni/danger-swift-xcodesummary.git
 import Foundation

func labelTestSummary(label: String, platform: String) throws {
    let file = filePathForPlatform(platform)
    let json = danger.utils.readFile(file)
    
    guard var jsonDictionary = try JSONSerialization.jsonObject(with: json.data(using: .utf8)!, options: .allowFragments) as? [String: Any] else {
        throw CocoaError(.fileReadCorruptFile)
    }
   

if #available(OSX 10.12, *),
    !addedAndModifiedEnDocsMarkdown.isEmpty {
    Proselint.performSpellCheck(files: addedAndModifiedEnDocsMarkdown)

    let ignoredWords = ["Auth", "auth", "Moya", "enum", "enums", "OAuth", "Artsy's", "Heimdallr.swift", "SwiftyJSONMapper", "ObjectMapper", "Argo", "ModelMapper", "ReactiveSwift", "RxSwift", "multipart", "JSONEncoder", "Alamofire", "CocoaPods", "URLSession", "plugin", "plugins", "stubClosure", "requestClosure", "endpointClosure", "Unsplash", "ReactorKit", "Dribbble", "EVReflection", "Unbox"]
    Mdspell.performSpellCheck(files: addedAndModifiedEnDocsMarkdown, ignoredWords: ignoredWords, language: "en-us")
}
