mirror of
https://github.com/home-assistant/core.git
synced 2025-04-24 01:08:12 +00:00
Mark repo as safe directory to git config (#83755)
Fixes https://github.com/home-assistant/core/issues/83753 fixes undefined
This commit is contained in:
parent
da51765f5c
commit
dc000d2289
@ -23,6 +23,11 @@ fi
|
||||
|
||||
script/bootstrap
|
||||
|
||||
# Avoid unsafe git error when running inside devcontainer
|
||||
if [ -n "$DEVCONTAINER" ];then
|
||||
git config --global --add safe.directory "$PWD"
|
||||
fi
|
||||
|
||||
pre-commit install
|
||||
python3 -m pip install -e . --constraint homeassistant/package_constraints.txt --use-deprecated=legacy-resolver
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user