Don't save __dirname into path.txt.
Allows install to work even if our directory is moved later.
This commit is contained in:
parent
b152f6d215
commit
999a998469
2 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
var fs = require('fs')
|
||||
var path = require('path')
|
||||
|
||||
module.exports = fs.readFileSync(path.join(__dirname, 'path.txt'), 'utf-8')
|
||||
module.exports = path.join(__dirname, fs.readFileSync(path.join(__dirname, 'path.txt'), 'utf-8'))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue