Skip to content

Commit fafd21f

Browse files
authored
Update post-commit hook path in script (#90)
1 parent 6e8c444 commit fafd21f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.devcontainer/refreshTools.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ sudo mv ./spark-sdk-dist/file-syncer.js /usr/local/bin/spark-file-syncer
4444
sudo mv ./spark-sdk-dist/spark-agent.js /usr/local/bin/spark-agent
4545
sudo cp ./spark-sdk-dist/proxy.js /workspaces/proxy.js
4646
sudo mv ./spark-sdk-dist/proxy.js /usr/local/bin/proxy.js
47-
sudo mv ./spark-sdk-dist/post-commit .git/hooks/post-commit
47+
sudo mv ./spark-sdk-dist/post-commit ${WORKSPACE_DIR}/.git/hooks/post-commit
4848

4949
# Upgrade the Spark Tools package
5050
if [ -f "$TOOLS_MARKER_FILE" ] && [ "$(cat "$TOOLS_MARKER_FILE")" == "$(cat ./spark-sdk-dist/spark-tools-version)" ]; then

0 commit comments

Comments
 (0)