From a8ac8c047c4b72213b5179cdb2704e77c3e32951 Mon Sep 17 00:00:00 2001 From: typicode Date: Thu, 18 Feb 2021 23:15:49 +0100 Subject: [PATCH] docs: npm requirement on Windows --- docs/README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/README.md b/docs/README.md index 7bc6f85a8..98e6b88ad 100644 --- a/docs/README.md +++ b/docs/README.md @@ -72,12 +72,14 @@ yarn husky install ## Add a hook -To add a hook, you can use `husky add [cmd]` (don't forget to run `husky install` before). +To add a hook, use `husky add [cmd]` (don't forget to run `husky install` before). ```shell npx husky add .husky/pre-commit "npm test" ``` +_Requires npm v7.4+ on Windows_ + Try to make a commit ```shell