From a381e367794a960cdde0bd24043163d92755ec3b Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Wed, 22 May 2013 22:27:18 +0800 Subject: [PATCH] The resourcePath should also be added to 'NODE_PATH'. The core specs rely on this to find and run specs. --- src/main.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main.coffee b/src/main.coffee index e8fee5ae3..814623543 100644 --- a/src/main.coffee +++ b/src/main.coffee @@ -16,7 +16,8 @@ setupNodePath= -> 'vendor', 'static', 'node_modules', - 'spec' + 'spec', + '', ] homeDir = process.env[if process.platform is 'win32' then 'USERPROFILE' else 'HOME']