From f269f53bdf2cd4778c8d23a4af49243e8d784848 Mon Sep 17 00:00:00 2001 From: popomore Date: Fri, 19 Aug 2016 18:02:13 +0800 Subject: [PATCH] feat: resolve istanbul path for coffee --- lib/cov_command.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/cov_command.js b/lib/cov_command.js index 5b2ab8fd..ea2118f6 100644 --- a/lib/cov_command.js +++ b/lib/cov_command.js @@ -29,6 +29,9 @@ class CovCommand extends Command { yield this.helper.checkDeps(); const covFile = require.resolve('istanbul/lib/cli.js'); + // resolve istanbul path for coffee + /* istanbul ignore next */ + process.env.istanbul_bin_path = covFile; const opt = { env: process.env, };