From 0800482ec9899193ea4415bdbac2509336707b2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E6=9D=B0?= Date: Mon, 28 Dec 2015 13:51:16 +0800 Subject: [PATCH] #3514: the fix for issue: 'The checking for semantic.json always fails when npm dependent package uses Semantic UI'. --- tasks/config/project/install.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/config/project/install.js b/tasks/config/project/install.js index 85a69418a..b5ce939ef 100644 --- a/tasks/config/project/install.js +++ b/tasks/config/project/install.js @@ -31,7 +31,7 @@ var when = { // install hasConfig: function() { - return requireDotFile('semantic.json'); + return requireDotFile('semantic.json', process.cwd()); }, allowOverwrite: function(questions) {