Skip to content

Commit

Permalink
fix: fix version check in bin/workon.sh (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz authored Mar 11, 2024
1 parent 2dffc74 commit 317c15f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/workon.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ complete -F _complete_invoke -o default invoke inv
# Environment vars
# ----------------------------

VERSION_FILE=${PROJ_ROOT}/VERSION
export FAASMCTL_VERSION=$(cat ${VERSION_FILE})
# Read version by calling locally-installed `faasmctl` as smoke test
export FAASMCTL_VERSION=$(faasmctl --version | cut -d' ' -f2)

export PS1="(faasmctl-dev) $PS1"

Expand Down

0 comments on commit 317c15f

Please sign in to comment.