Skip to content

Commit

Permalink
Fix: Error: unknown command "r" for "yq" juicycleff#217
Browse files Browse the repository at this point in the history
  • Loading branch information
jclaveau committed Jan 5, 2022
1 parent 0ae62a4 commit 95fe400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/register.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ for PROJECT_DIR in ${PROJECTS} ; do
continue
fi

SVC_NAME=$(yq r ./"${PROJECT_DIR}"/${BOOTSTRAP_PATH} 'service.name' )
SVC_NAME=$(yq e '.service.name' ./"${PROJECT_DIR}"/${BOOTSTRAP_PATH} )
echo "Registering ${SVC_NAME}"

if [ ! -f "./${PROJECT_DIR}/${CONFIG_PATH}" ]; then
Expand Down

0 comments on commit 95fe400

Please sign in to comment.