diff --git a/README.md b/README.md index 053c4e8..4d07ea7 100644 --- a/README.md +++ b/README.md @@ -274,7 +274,7 @@ Under the hood npm package [doctoc](https://npm.im/doctoc) is used for generatin Configures a git hook to validate the commit messages. This is great, if you want to ensure that contributors to your project must form commit messages as per a given standard. -The default standard used is [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular) and rules are defined inside this [template](https://github.com/adonisjs/mrm-preset/blob/develop/validateCommit/conventional/template.md), which is copied over to your project `.github` folder for readers reference. +The default standard used is [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular) and rules are defined inside this [template](https://github.com/adonisjs/mrm-preset/blob/develop/validate-commit/conventional/template.md), which is copied over to your project `.github` folder for readers reference. \ No newline at end of file diff --git a/validate-commit/README.md b/validate-commit/README.md index 1347ca0..9aff178 100644 --- a/validate-commit/README.md +++ b/validate-commit/README.md @@ -2,5 +2,5 @@ Configures a git hook to validate the commit messages. This is great, if you want to ensure that contributors to your project must form commit messages as per a given standard. -The default standard used is [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular) and rules are defined inside this [template](https://github.com/adonisjs/mrm-preset/blob/develop/validateCommit/conventional/template.md), which is copied over to your project `.github` folder for readers reference. +The default standard used is [conventional-changelog](https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-angular) and rules are defined inside this [template](https://github.com/adonisjs/mrm-preset/blob/develop/validate-commit/conventional/template.md), which is copied over to your project `.github` folder for readers reference. diff --git a/validate-commit/index.js b/validate-commit/index.js index e8bd85e..24b0f53 100644 --- a/validate-commit/index.js +++ b/validate-commit/index.js @@ -44,7 +44,7 @@ function task () { const commitFile = lines('.husky/commit-msg') .add('#!/bin/sh') .add('. "$(dirname "$0")/_/husky.sh"') - .add('HUSKY_GIT_PARAMS=$1 node ./node_modules/@adonisjs/mrm-preset/validateCommit/conventional/validate.js') + .add('HUSKY_GIT_PARAMS=$1 node ./node_modules/@adonisjs/mrm-preset/validate-commit/conventional/validate.js') const fileAlreadyExists = commitFile.exists() commitFile.save()