Skip to content

Commit

Permalink
Removing is-ci in favor of ci-info
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Li committed Sep 9, 2019
1 parent 391269e commit 719ad39
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -54,7 +54,7 @@
"cosmiconfig": "^5.2.1",
"execa": "^1.0.0",
"get-stdin": "^7.0.0",
"is-ci": "^2.0.0",
"ci-info": "^2.0.0",
"opencollective-postinstall": "^2.0.2",
"pkg-dir": "^4.2.0",
"please-upgrade-node": "^3.2.0",
Expand Down
5 changes: 4 additions & 1 deletion src/installer/bin.ts
@@ -1,5 +1,5 @@
import chalk from 'chalk'
import isCI from 'is-ci'
import ci from 'ci-info'
import path from 'path'
import debug from '../debug'
import { install, uninstall } from './'
Expand All @@ -13,6 +13,9 @@ debug(`INIT_CWD: ${process.env.INIT_CWD}`)
// huskyDir is ONLY used in dev, don't use this arguments
const [, , action, huskyDir = path.join(__dirname, '../..')] = process.argv

// Determine whether environment is CI
const { isCI } = ci.isCI

// Find Git dir
try {
// Show un/install message
Expand Down

0 comments on commit 719ad39

Please sign in to comment.