From 78e8167eb5a9819933050a69455634d5dc3741ee Mon Sep 17 00:00:00 2001 From: hankei6km Date: Thu, 21 Dec 2023 12:30:31 +0000 Subject: [PATCH] docs: Update example of configuration in `.devcontainer.json` --- src/prepare-commit-msg-context/NOTES.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/prepare-commit-msg-context/NOTES.md b/src/prepare-commit-msg-context/NOTES.md index b5bc1ac..c1927d8 100644 --- a/src/prepare-commit-msg-context/NOTES.md +++ b/src/prepare-commit-msg-context/NOTES.md @@ -1,14 +1,12 @@ ## Install as a git hook -Please copy the script separately from installing the feature. - e.g.: Example of configuration in `.devcontainer.json` ```jsonc { "features": { - "ghcr.io/hankei6km/h6-devcontainers-features/prepare-commit-msg-context:1": {} + "ghcr.io/hankei6km/h6-devcontainers-features/prepare-commit-msg-context:1": {} }, - "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" } -``` \ No newline at end of file +```