From 87972a3c049481066e4ba141540da57accc16277 Mon Sep 17 00:00:00 2001 From: Aviv Ben Shahar Date: Thu, 30 May 2024 12:35:13 +0300 Subject: [PATCH] fix(node): `package_name` raw output --- zsh/extends/.zshrc.extends.npm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zsh/extends/.zshrc.extends.npm.sh b/zsh/extends/.zshrc.extends.npm.sh index 0e18d6a..1b37a9a 100755 --- a/zsh/extends/.zshrc.extends.npm.sh +++ b/zsh/extends/.zshrc.extends.npm.sh @@ -8,7 +8,7 @@ alias nte="npm run test:e2e" # Get & copy current working directory package name function package_name() { - local packageName=$(cat package.json | jq '.name') + local packageName=$(cat package.json | jq -r '.name') echo $packageName | pbcopy echo $packageName