Skip to content

Commit

Permalink
Merge pull request #3515 from Jeff-Tian/next
Browse files Browse the repository at this point in the history
#3514: the fix for issue: 'The checking for semantic.json always fail…
  • Loading branch information
jlukic committed Jan 8, 2016
2 parents 2b4b6ee + 79e615a commit 7599cf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tasks/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = function(callback) {

if( !install.isSetup() ) {
console.error('Cannot find semantic.json. Run "gulp install" to set-up Semantic');
return;
return 1;
}

// check for right-to-left (RTL) language
Expand Down
2 changes: 1 addition & 1 deletion tasks/config/project/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ var when = {

// install
hasConfig: function() {
return requireDotFile('semantic.json');
return requireDotFile('semantic.json', process.cwd());
},

allowOverwrite: function(questions) {
Expand Down

0 comments on commit 7599cf8

Please sign in to comment.