Skip to content

Commit 7223fed

Browse files
authored
Swift: fix user.sh pre-commit insallation
1 parent 15c4ac2 commit 7223fed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.devcontainer/swift/user.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ cd /workspaces/codeql
99
bazel run swift/create-extractor-pack
1010

1111
#install and set up pre-commit
12-
python3 -m pip install pre-commit
13-
pre-commit install
12+
python3 -m pip install pre-commit --no-warn-script-location
13+
$HOME/.local/bin/pre-commit install
1414

1515
cat >> $HOME/.bashrc << EOF
1616

0 commit comments

Comments
 (0)