Skip to content

Commit

Permalink
fix: fix ignore package import
Browse files Browse the repository at this point in the history
  • Loading branch information
eysi09 committed Sep 6, 2018
1 parent 0b712eb commit 00721c3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion garden-cli/src/util/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import Bluebird = require("bluebird")
import { ResolvableProps } from "bluebird"
import * as pty from "node-pty"
import * as exitHook from "async-exit-hook"
import * as ignore from "ignore/ignore"
import * as klaw from "klaw"
import * as yaml from "js-yaml"
import * as Cryo from "cryo"
Expand All @@ -26,6 +25,8 @@ import chalk from "chalk"
import hasAnsi = require("has-ansi")
import { safeDump } from "js-yaml"
import { GARDEN_DIR_NAME } from "../constants"
// NOTE: Importing from ignore/ignore doesn't work on Windows
const ignore = require("ignore")

// shim to allow async generator functions
if (typeof (Symbol as any).asyncIterator === "undefined") {
Expand Down

0 comments on commit 00721c3

Please sign in to comment.