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
Please disregard the previous error. It seems that there is instead a bug with the displayed location of where a bug occurs.
The broken code was later in the file and caused due to merge_output being a string and not an array.
let merge_output = $git merge upstream/master$ failed {
error("Failed to merge upstream into patched version", status)
}
if includes(merge_output, "Already up to date") {
echo_success("Patched version is already up to date with remote.")
exit(0)
} else {
echo_success("Succesfully upstream repo into patched version")
}
Expected behaviour
It would be expected that the error would show at the includes line instead of the import location.
Describe the bug
version: amber 0.3.5-alpha
amber seems to throw an error when importing std/array.
To Reproduce
When running
amber throws
Expected behavior
Expected behaviour would be to import the array std lib.
The text was updated successfully, but these errors were encountered: