Skip to content

Commit

Permalink
chore: Updated configuration for prepare-commit-msg-context
Browse files Browse the repository at this point in the history
- Set format to diff
- Use postCreateCommand instead of postAttachCommand
  • Loading branch information
hankei6km committed Dec 21, 2023
1 parent 51ef670 commit a19597f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit a19597f

Please sign in to comment.