The default value of the version input is defined in the action metadata, so having another default setting in the code is purely redundant and doubles the maintenance effort required on every major release of Task (note that they already went out of sync).