Skip to content

Commit

Permalink
Remove debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
asdfugil committed Jun 5, 2024
1 parent 042a55f commit 036eca2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Shared/RepoHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,7 @@ public class RepoHandler {

#if !os(macOS)
if ((url.pathComponents.last ?? "").contains("Packages") || (url.pathComponents.last ?? "").contains("Release")) {
log("URL: \(url.absoluteString)")
let fileName = "\(url.deletingPathExtension().absoluteString.replacingOccurrences(of: "https://", with: "").replacingOccurrences(of: "http://", with: "").replacingOccurrences(of: "/", with: "_"))"
log("fileName: \(fileName)")
let tempFilePath = FileManager.default.temporaryDirectory.appendingPathComponent(fileName)
do {
try data.write(to: tempFilePath)
Expand Down

0 comments on commit 036eca2

Please sign in to comment.