Skip to content

Commit

Permalink
fix: env script handle existing file
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomas2D committed Aug 28, 2024
1 parent 5d8df8c commit 51961af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"prepare": "husky",
"copyright": "./scripts/copyright.sh",
"release": "release-it",
"_ensure_env": "cp -n .env.template .env",
"_ensure_env": "cp -n .env.template .env || true",
"_docker": "yarn _ensure_env && bash -c 'source ./.env && docker_cmd=$(which docker >/dev/null 2>&1 && printf docker || printf podman) && $docker_cmd \"$@\"' sh"
},
"dependencies": {
Expand Down

0 comments on commit 51961af

Please sign in to comment.