declare hides the real exit code of the subshell that runs tfenv-resolve-version.
This patch declares the variable without initialisation and assigns the value next using the || control operator to call early_death if the assignation is unsuccessful.
This fixes #246
declare
hides the real exit code of the subshell that runstfenv-resolve-version
.This patch declares the variable without initialisation and assigns the value next using the
||
control operator to callearly_death
if the assignation is unsuccessful.