Skip to content

Commit

Permalink
Don't exit if the .env file is skipped
Browse files Browse the repository at this point in the history
  • Loading branch information
opdavies committed Dec 18, 2023
1 parent 932c8f4 commit 88af924
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/astro/run.twig
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function help {
# Start the project.
function start {
{% if not isFlake %}
cp -v --no-clobber .env.example .env
cp -v --no-clobber .env.example .env || true
docker compose up -d
{% else %}
fractal start --sync
Expand Down
2 changes: 1 addition & 1 deletion templates/drupal/run.twig
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ function quality {
{% endif %}

function start {
cp -v --no-clobber .env.example .env
cp -v --no-clobber .env.example .env || true

docker compose up -d
}
Expand Down
2 changes: 1 addition & 1 deletion templates/fractal/run.twig
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function help {
# Start the project.
function start {
{% if not isFlake %}
cp -v --no-clobber .env.example .env
cp -v --no-clobber .env.example .env || true
docker compose up -d
{% else %}
fractal start --sync
Expand Down

0 comments on commit 88af924

Please sign in to comment.