Skip to content

Commit

Permalink
fix directory
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre committed Mar 13, 2013
1 parent c22e407 commit 53a24f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -263,7 +263,7 @@ function Mudnames_Dictionnaries(directory) {
};

if (!directory) {
directory = process.cwd() + '/mudnames/data/';
directory = __dirname + '/data/';
}

var stats = fs.lstatSync(directory);
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "mudnames",
"version": "0.0.1",
"version": "0.0.3",
"description": "Mudnames can generate random names for characters, cities or whatever used in role playing games.",
"repository": {
"type": "git",
Expand Down

0 comments on commit 53a24f4

Please sign in to comment.