Skip to content

Commit

Permalink
fix: remove -t for non-interactive session
Browse files Browse the repository at this point in the history
  • Loading branch information
rochecompaan committed Feb 15, 2024
1 parent 8afba7e commit d55e683
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scaf
Original file line number Diff line number Diff line change
@@ -37,10 +37,10 @@ else
COOKIECUTTER_OPTIONS=""
fi

DOCKER_RUN_OPTIONS=""

# Check if --no-input is in COOKIECUTTER_OPTIONS
if [[ "$COOKIECUTTER_OPTIONS" == *"--no-input"* ]]; then
DOCKER_RUN_OPTIONS="-t"
else
if [[ "$COOKIECUTTER_OPTIONS" != *"--no-input"* ]]; then
DOCKER_RUN_OPTIONS="-it"
fi

0 comments on commit d55e683

Please # to comment.