From 4e5658173eb9348c2cfdbcaa32a6ac226a70b69b Mon Sep 17 00:00:00 2001 From: Hilton Campbell Date: Wed, 29 Jun 2022 07:30:24 -0700 Subject: [PATCH] Replace print statement with CodegenLogger.log --- Sources/ApolloCodegenLib/CLIExtractor.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/ApolloCodegenLib/CLIExtractor.swift b/Sources/ApolloCodegenLib/CLIExtractor.swift index e732172dc9..fd54bd0e3d 100644 --- a/Sources/ApolloCodegenLib/CLIExtractor.swift +++ b/Sources/ApolloCodegenLib/CLIExtractor.swift @@ -135,7 +135,7 @@ struct CLIExtractor { /// - Parameter expected: The expected SHASUM. Defaults to the real expected SHASUM. This parameter exists mostly for testing. static func validateZipFileSHASUM(at zipFileURL: URL, expected: String = CLIExtractor.expectedSHASUM) throws { let shasum = try FileManager.default.apollo.shasum(at: zipFileURL) - print("SHASUM of downloaded file: \(shasum)") + CodegenLogger.log("SHASUM of downloaded file: \(shasum)") guard shasum == expected else { throw CLIExtractorError.zipFileHasInvalidSHASUM(expectedSHASUM: expected, gotSHASUM: shasum) }