From 147add8258580d0100e72a59febf8c9b07cf4c9f Mon Sep 17 00:00:00 2001 From: Haoliang Gao Date: Fri, 19 Aug 2016 21:01:24 +0800 Subject: [PATCH] feat: resolve istanbul path for coffee (#9) --- 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, };