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

Flows with code blocks using old {} syntax get missing indentation error - fixed #1026

Closed
kensoh opened this issue Apr 28, 2021 · 2 comments
Closed
Assignees
Labels

Comments

@kensoh
Copy link
Member

kensoh commented Apr 28, 2021

There is a bug where pre-v6 workflows using curly brackets {} will trigger a workflow self-check condition. Because { below did not have indentation, TagUI will throw error saying missing indentation. However, indentation is not needed for { because it already is JavaScript syntax for code blocks. Raising this issue to fix this for backward compatibility.

for n from 1 to 5
{
    echo `n`
}
@kensoh kensoh added the bug label Apr 28, 2021
@kensoh kensoh self-assigned this Apr 28, 2021
@kensoh kensoh changed the title Flows with code blocks using old {} syntax missing indentation error - to fix Flows with code blocks using old {} syntax get missing indentation error - to fix Apr 28, 2021
kensoh added a commit that referenced this issue Apr 28, 2021
@kensoh
Copy link
Member Author

kensoh commented Apr 28, 2021

Above commit fixes the problem.

Users can download the latest copy of TagUI from here and unzip to overwrite your existing installation (please drag the folders under tagui\src to overwrite your existing installation) - https://github.com/kelaberetiv/TagUI/archive/master.zip

In the next release, this fix will become part of the packaged zip files.

@kensoh kensoh changed the title Flows with code blocks using old {} syntax get missing indentation error - to fix Flows with code blocks using old {} syntax get missing indentation error - fixed Apr 28, 2021
@kensoh
Copy link
Member Author

kensoh commented Jun 18, 2021

Closing issue, change included in latest packaged release - https://github.com/kelaberetiv/TagUI/releases/tag/v6.46.0

@kensoh kensoh closed this as completed Jun 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant