-
Notifications
You must be signed in to change notification settings - Fork 124
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
condition_script
behaves differently from other scripts blocks
#987
Comments
@sagiegurari any chance that there'll be |
@wmmc88 sorry for taking so long. i actually remember taking a look at it and it wasn't a quick fix so didn't have time for it. |
@wmmc88 can you validate this works well in the dev branch: 0.37.8 |
@sagiegurari Using the
|
i did confirm however that sagiegurari/duckscript#390 was resolved. |
@wmmc88 are you sure you tried the right version? did you install it from the github branch? [tasks.test-duckscript-condition]
condition_script = ['''
#!@duckscript
var = set "hello from duckscript"
echo ${var}
echo %{var}
exit 0
''']
script = '''
echo "duckscript condition was met"
''' |
@sagiegurari Ah. it seems like i had a stale git branch that I installed from. I can confirm that duckscript runner works now! The second part of this issue was that the syntax for |
released new version |
Describe The Bug
It seems that
condition_script
works differently from all other script block types. As seen in the first block below, it looks like it doesn't support things like duckscript shebangs. As seen in the 2nd block, it looks like it doesn't execute each block as a seperate script (unlikeenv_scripts
even though the syntax is a array of strings).To Reproduce
Error Stack
The text was updated successfully, but these errors were encountered: