Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix absolute file path error in DiskCache - Swift 2.3 #42

Closed
wants to merge 2 commits into from

Conversation

erawhctim
Copy link

Added the absolute file path as a separate variable in the let
expression so its value can be safely unwrapped and used within
NSFileManager.fileExistsAtPath(...) (in order for Mattress to compile
properly in Swift 2.3).

Added the absolute file path as a separate variable in the `let`
expression so its value can be safely unwrapped and used within
`NSFileManager.fileExistsAtPath(...)` (in order for Mattress to compile
properly in Swift 2.3).
@Cform
Copy link
Contributor

Cform commented Jan 17, 2017

Aside from maybe spelling out "absolute" (nitpick) LGTM.

Copy link
Contributor

@dmauro dmauro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the delay, but yeah do you mind just changing absFilePath to absoluteFilePath and this will be good to go.

@dmauro dmauro removed their assignment Dec 12, 2017
@erawhctim erawhctim closed this Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants