Engineering Elixir Applications:'asdf plugin-add' command not working (page 22)

On page. 22, in the bash script code for installing asdf plugins, the command

asdf plugin-add ​"​$plugin​"​ || true

threw an error for me. Had to change it to:

asdf plugin add "$plugin" || true