From ba13ea3e6706cf32e3c05528beca75c01d184907 Mon Sep 17 00:00:00 2001 From: Augusto Moura Date: Sat, 2 Oct 2021 21:31:22 -0300 Subject: [PATCH] fix: fix print call instead of printf --- shims/npm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shims/npm b/shims/npm index a9cc675..2eccd42 100755 --- a/shims/npm +++ b/shims/npm @@ -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