Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
Merge pull request #324 from bugron/fix/test
Browse files Browse the repository at this point in the history
Fix incorrect file existence check and fix npm test
  • Loading branch information
askmike authored Jun 11, 2016
2 parents 780c166 + 7faf4dd commit ca89c1a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var util = {
getConfig: function() {
if(_config)
return _config;
var configFile = path.resolve(program.config || util.dirs().gekko + 'config');
var configFile = path.resolve(program.config || util.dirs().gekko + 'config.js');

if(!fs.existsSync(configFile))
util.die('Cannot find a config file.');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"bitcoin"
],
"scripts": {
"test": "./node_modules/.bin/mocha -u tdd --reporter spec"
"test": "./node_modules/.bin/mocha test/*.js -u tdd --reporter spec"
},
"author": "Mike van Rossum <[email protected]>",
"dependencies": {
Expand Down

0 comments on commit ca89c1a

Please sign in to comment.