mirror of
https://github.com/danbulant/node-x11
synced 2026-05-24 12:35:39 +00:00
replaced os-homedir with os.homedir()
This commit is contained in:
parent
8ed75f54e1
commit
a16c1cb8eb
2 changed files with 2 additions and 4 deletions
|
|
@ -50,7 +50,7 @@ function parseXauth( buf )
|
||||||
return auth;
|
return auth;
|
||||||
}
|
}
|
||||||
|
|
||||||
var homedir = require('os-homedir');
|
var homedir = require('os').homedir();
|
||||||
var path = require('path');
|
var path = require('path');
|
||||||
|
|
||||||
function readXauthority(cb) {
|
function readXauthority(cb) {
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,5 @@
|
||||||
"test": "node test-runner.js",
|
"test": "node test-runner.js",
|
||||||
"prepublish": "npm prune"
|
"prepublish": "npm prune"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {}
|
||||||
"os-homedir": "^1.0.1"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue