Permalink
Browse files

Relative path.

  • Loading branch information...
athoune committed Jan 1, 2012
1 parent 669730e commit f2f1d0ac0711dfc699dec2e07ad27b9931b4db81
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
@@ -1,2 +1,2 @@
exports.TNETS = require('./lib/tnetstrings.js').TNETS,
-exports.version = JSON.parse(require('fs').readFileSync('package.json')).version;
+exports.version = JSON.parse(require('fs').readFileSync(__dirname + '/package.json')).version;

0 comments on commit f2f1d0a

Please sign in to comment.