You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Indented multi-line arguments followed by indented chained function calls cause functions further down to be interpreted to end earlier than it should if those functions contain indented multi-line arguments
#3866
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.
input:
desired output:
Adding this at the top of the file causes the function for the gulp task to end early:
input:
output:
The
if (production)
block should be inside of the function above it.Wrapping parens around either of the indented arguments fixes it.
e.g.
OR
Both result in the desired output again.
It's also fixed if the last chained call after extend is not indented.
Removing the indentation before
.value()
also results in desired output.The text was updated successfully, but these errors were encountered: