Comparing version 0.14.1 to 0.14.2
@@ -48,3 +48,3 @@ 'use strict' | ||
expect(hook).toMatch('#husky') | ||
expect(hook).toMatch('cd .') | ||
expect(hook).toMatch('cd "."') | ||
expect(hook).toMatch('npm run -s precommit') | ||
@@ -67,3 +67,3 @@ expect(hook).toMatch('--no-verify') | ||
expect(hook).toMatch('cd A/B') | ||
expect(hook).toMatch('cd "A/B"') | ||
@@ -82,3 +82,3 @@ uninstall(dir, 'A/B/node_modules/husky') | ||
expect(hook).toMatch('cd .') | ||
expect(hook).toMatch('cd "."') | ||
@@ -97,3 +97,3 @@ uninstall(dir, 'A/B/node_modules/husky') | ||
expect(hook).toMatch('cd C') | ||
expect(hook).toMatch('cd "C"') | ||
@@ -115,3 +115,3 @@ uninstall(dir, 'A/B/app/node_modules/husky') | ||
expect(hook).toMatch('cd .') | ||
expect(hook).toMatch('cd "."') | ||
@@ -118,0 +118,0 @@ uninstall(dir, 'A/B/node_modules/husky') |
@@ -10,3 +10,3 @@ 'use strict' | ||
if (isCI) { | ||
if (isCI && !process.env.HUSKY_IGNORE_CI) { | ||
console.log('CI detected, skipping Git hooks installation') | ||
@@ -13,0 +13,0 @@ process.exit(0) |
# CHANGELOG | ||
## 0.14.2 | ||
* Fix When a space was present in $HOME, hook script was failing | ||
## 0.14.1 | ||
* Fix Husky wasn't installing Git hooks on Windows | ||
* Fix When nvm was installed with Brew, hook script was failing | ||
## 0.14.0 | ||
@@ -4,0 +13,0 @@ |
{ | ||
"name": "husky", | ||
"version": "0.14.1", | ||
"version": "0.14.2", | ||
"description": "Prevents bad commit or push (git hooks, pre-commit/precommit, pre-push/prepush, post-merge/postmerge and all that stuff...)", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -1,2 +0,2 @@ | ||
# husky [![](http://img.shields.io/npm/dm/husky.svg?style=flat)](https://www.npmjs.org/package/husky) [![npm version](https://badge.fury.io/js/husky.svg)](https://www.npmjs.com/package/husky) [![Build Status](https://travis-ci.org/typicode/husky.svg?branch=master)](https://travis-ci.org/typicode/husky) | ||
# husky [![](http://img.shields.io/npm/dm/husky.svg?style=flat)](https://www.npmjs.org/package/husky) [![npm version](https://badge.fury.io/js/husky.svg)](https://www.npmjs.com/package/husky) [![Mac/Linux Build Status](https://img.shields.io/travis/typicode/husky/master.svg?label=Mac%20OSX%20%26%20Linux)](https://travis-ci.org/typicode/husky) [![Windows Build status](https://img.shields.io/appveyor/ci/typicode/husky/master.svg?label=Windows)](https://ci.appveyor.com/project/typicode/husky/branch/master) | ||
@@ -45,3 +45,3 @@ > Git hooks made easy | ||
* [Hotel](https://github.com/typicode/hotel) | ||
* ... and over 5000+ [other awesome projects](https://libraries.io/npm/husky/dependent-repositories). | ||
* ... and over 6000+ [other awesome projects](https://libraries.io/npm/husky/dependent-repositories). | ||
@@ -48,0 +48,0 @@ ## Uninstall |
@@ -89,3 +89,3 @@ 'use strict' | ||
cd ${normalizedPath} | ||
cd "${normalizedPath}" | ||
@@ -92,0 +92,0 @@ # Check if ${npmScriptName} script is defined, skip if not |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
91014
8