feat: add __GIT_WORKING_DIR__ to tfsec (#255)

This commit is contained in:
gravitybacklight 2021-10-21 15:13:34 +01:00 committed by GitHub
commit 2973f85f3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View file

@ -54,7 +54,8 @@ parse_cmdline_() {
case $argv in
-a | --args)
shift
ARGS+=("$1")
expanded_arg="${1//__GIT_WORKING_DIR__/$PWD}"
ARGS+=("$expanded_arg")
shift
;;
--)