Fix for AVATAR_JS-152, removed dead code
This commit is contained in:
parent
ab5c8857b7
commit
618783547b
|
@ -406,10 +406,7 @@ Object.defineProperty(exports, '_tickCallback', {
|
|||
Object.defineProperty(exports, 'chdir', {
|
||||
enumerable: true,
|
||||
value: function(dir) {
|
||||
var fs = java.nio.file.FileSystems.getDefault();
|
||||
var path = fs.getPath(dir);
|
||||
var newpath = path.isAbsolute() ? path : fs.getPath(process.cwd(), path.toString()).normalize();
|
||||
eventloop.setWorkDir(newpath.toString());
|
||||
eventloop.setWorkDir(dir);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue