Skip to content

Commit

Permalink
Don't error out by default on dottie validate
Browse files Browse the repository at this point in the history
  • Loading branch information
Murazaki committed Jan 30, 2025
1 parent 2fee37b commit 84c57fd
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .env.docker
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@
#
# @dottie/source .env.docker

# Should dottie validation stop the entrypoint process
# @default false
# @dottie/validate boolean
ENTRYPOINT_DOTTIE_STRICT="false"

################################################################################
# app
################################################################################
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ for file in "${dot_env_files[@]}"; do
# which do not (and should not) exists inside the container
#
# We disable fixer since its not interactive anyway
run-as-current-user dottie validate --file "${file}" --ignore-rule dir,file --exclude-prefix APP_KEY --no-fix
run-as-current-user dottie validate --file "${file}" --ignore-rule dir,file --exclude-prefix APP_KEY --no-fix || [ "$ENTRYPOINT_DOTTIE_STRICT" = false ]
done

0 comments on commit 84c57fd

Please sign in to comment.