From a19597fb189c4d0bbb2cb4f399df6fc053a56880 Mon Sep 17 00:00:00 2001 From: hankei6km Date: Thu, 21 Dec 2023 12:19:43 +0000 Subject: [PATCH] chore: Updated configuration for prepare-commit-msg-context - Set format to diff - Use postCreateCommand instead of postAttachCommand --- .devcontainer/devcontainer.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 25609e6..27b0069 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -64,10 +64,12 @@ "username": "node" }, "ghcr.io/devcontainers/features/github-cli:1": {}, - "ghcr.io/hankei6km/h6-devcontainers-features/prepare-commit-msg-context:latest": {}, + "ghcr.io/hankei6km/h6-devcontainers-features/prepare-commit-msg-context:latest": { + "format": "diff" + }, "ghcr.io/devcontainers-contrib/features/actionlint:1": {} }, "remoteUser": "node", "updateContentCommand": "npm install -g @devcontainers/cli", - "postAttachCommand": "cp /usr/local/share/prepare-commit-msg-context/prepare-commit-msg .git/hooks/prepare-commit-msg" + "postCreateCommand": "cp /usr/local/share/prepare-commit-msg-context/prepare-commit-msg .git/hooks/prepare-commit-msg" }