From 1a0c42b0fe51a453c1348e126eeba8c37c40f98e Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 15 Nov 2021 11:09:30 +0000 Subject: [PATCH] refactor(node): remove redundant echo --- node/install.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/node/install.sh b/node/install.sh index ecc20dd..b0f822a 100644 --- a/node/install.sh +++ b/node/install.sh @@ -17,7 +17,10 @@ pkg_get_current_version() { # v12.8.0 # This trims it down to just the version number: # 12.8.0 - echo "$(node --version 2> /dev/null | head -n 1 | cut -d' ' -f1 | sed 's:^v::')" + node --version 2> /dev/null | + head -n 1 | + cut -d' ' -f1 | + sed 's:^v::' } pkg_install() { -- 2.25.1