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

Indentation edge case with multiple return values #1

Open
verdverm opened this issue Jan 24, 2023 · 0 comments
Open

Indentation edge case with multiple return values #1

verdverm opened this issue Jan 24, 2023 · 0 comments
Labels
upstream Upstream package error

Comments

@verdverm
Copy link

Had this case where all leading whitespace was removed. git.DetermineCommits is a helper groovy function which returns multiple values

           // Print some FERRUM vars for debug helpfulness
-          (BRANCH_COMMIT, TARGET_COMMIT, _, _) = git.DetermineCommits("$GIT_BRANCH")
+(BRANCH_COMMIT, TARGET_COMMIT, _, _) = git.DetermineCommits("$GIT_BRANCH")
           echo "BRANCH_COMMIT:   $BRANCH_COMMIT"
           echo "TARGET_COMMIT:   $TARGET_COMMIT"
@Airkro Airkro added the upstream Upstream package error label Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream Upstream package error
Development

No branches or pull requests

2 participants