Closed brettfazio closed 1 year ago
@koraykoska seems like this same CI failure is on every PR.
The reason I set it to a random URL if it fails to unwrap is that if it fails to unwrap all calls to this object (should) fail anyway. Ideally, people should probably use the init with the URL not the String.
Change the
String
in the init toURL
and thus it removes the possible error during unwrapping (theURL
now has to be unwrapped by the user beforehand).Also changed a test as it was taking in a
String
.