We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This clever little if statement in Cleaner.swift line 36:
if let headWhitelist, let dirtHead = dirtyDocument.head(), let cleanHead = clean.head() {
specifically changing it to:
if let headWhitelist = headWhitelist, let dirtHead = dirtyDocument.head(), let cleanHead = clean.head() {
would solve the issue.
The text was updated successfully, but these errors were encountered:
For reference, the if let x {} shorthand for shadowing an optional was introduced in Swift 5.7.
if let x {}
Either the README need to be updated to note Swift 5.7 is required or this fixed.
Sorry, something went wrong.
No branches or pull requests
This clever little if statement in Cleaner.swift line 36:
if let headWhitelist, let dirtHead = dirtyDocument.head(), let cleanHead = clean.head() {
specifically changing it to:
if let headWhitelist = headWhitelist, let dirtHead = dirtyDocument.head(), let cleanHead = clean.head() {
would solve the issue.
The text was updated successfully, but these errors were encountered: