fix: fix print call instead of printf

This commit is contained in:
Augusto Moura 2021-10-02 21:31:22 -03:00
parent a9c3e49531
commit ba13ea3e67
No known key found for this signature in database
GPG Key ID: 67F85AF470AE27DA

View File

@ -65,8 +65,8 @@ resolve_canon_npm() {
npm_location="${ASDF_NODEJS_CANON_NPM_PATH:-$(search_npm_on_current_path || manually_search_npm_bin)}"
if ! [ "$npm_location" ]; then
printf "asdf-nodejs couldn't find a executable npm command\n"
print "This is probably a problem with the plugin, please report this issue at https://github.com/asdf-vm/asdf-nodejs/issues\n"
printf "asdf-nodejs couldn't find a suitable npm executable\n"
printf "This is probably a problem with the plugin, please report this issue at https://github.com/asdf-vm/asdf-nodejs/issues\n"
exit 1
fi