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
overridefungetActionScope(channelId:String?, threadTs:String?, isReadOnly:Boolean): AppActionScope {
returnif (channelId.isNullOrEmpty()) {
AppActionNoChannelScope
} elseif (isReadOnly) {
if (threadTs.isNullOrEmpty()) AppActionReadOnlyChannelScope(channelId) elseAppActionReadOnlyChannelThreadScope(
channelId,
threadTs
// The next line if the line it doesn't like
)
} else {
if (threadTs.isNullOrEmpty()) AppActionChannelScope(channelId) elseAppActionThreadScope(
channelId,
threadTs
)
}
}
This results in this error:
SlackGlobalActionsHelper.kt:112:7: Unexpected indentation (expected 8, actual 6)
The text was updated successfully, but these errors were encountered:
ZacSweers
changed the title
Unexpected failure with what appears to be correct formatting in 0.40
Unexpected failure with single line else expression what appears to be correct formatting in 0.40
Jan 5, 2021
Expected Behavior
This is correctly formatted
Observed Behavior
It is reported as failure.
Steps to Reproduce
Pasting exactly as-is in source for details
This results in this error:
Your Environment
This is our editorconfig:
The text was updated successfully, but these errors were encountered: