Closed davay closed 2 years ago
Can you also tell me what version of Bash is being used? (yadm version
should report this)
@TheLocehiliosan updated in the description, thanks
Thanks for the report. It looks like the implementation of multiple classes uses a Bash 4.2 feature.
It shouldn't be too hard to fix.
I'm away from a computer right now, but I think line 660 needs to change
local_class="${local_classes[-1]:-}"
To
local_class="${local_classes[${#local_classes[@]}-1]:-}"
I only had a moment, but I pushed a possible fix to branch fix/411. If you can test that, and let me know how it goes.
Looking at the code, I also think it may be viable to just remove that line too.
I'll have to look tonight when I'm back.
I've been able to recreate this problem, and I've refined the fix a little.
I'll release 3.2.1 tonight, which addresses this problem.
Fixed in 3.2.1
Describe the bug
Anytime I run Yadm, though the command succeeds, it also throws an error message:
Note: Doesn't seem to be breaking anything..?
To reproduce
Environment