Skip to content

Commit

Permalink
change data path to current dir
Browse files Browse the repository at this point in the history
  • Loading branch information
jnugh committed Apr 27, 2016
1 parent c73cae4 commit 5d416aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "api-smoke-test",
"version": "0.1.0",
"version": "0.1.1",
"description": "Tool to ensure integrity on api calls",
"main": "src/index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/apis/apiStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ var fs = require('fs')

module.exports = {
getPath: function() {
return process.env.STORE_DIR || require('homedir')() + path.sep + '.salSmokeStore';
return process.env.STORE_DIR || './salSmokeStore';
},

clear: function(cb) {
Expand Down
2 changes: 1 addition & 1 deletion src/config/configController.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ module.exports = {
},

getPath: function() {
return process.env.CONFIG_FILE || require('homedir')() + path.sep + '.salSmokeConf';
return process.env.CONFIG_FILE || './salSmokeConf';
},

ensureConfig: function(path) {
Expand Down

0 comments on commit 5d416aa

Please sign in to comment.