Skip to content

Commit

Permalink
Merge pull request #55 from eduardbosch/feature/skip_bundle_path_islo…
Browse files Browse the repository at this point in the history
…aded_check

fix: Skip main bundle path checking to know if injection is loaded
  • Loading branch information
zenangst authored Mar 15, 2019
2 parents 09c3afb + eb5a859 commit 528403f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions Source/Shared/Injection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,6 @@ public class Injection {
return true
}

if !Bundle.main.bundlePath.lowercased().contains("products/debug") {
return true
}

// Search for injection in the loaded bundles.
var result: Bool = false
for bundle in Bundle.allBundles {
Expand Down

0 comments on commit 528403f

Please sign in to comment.