Fix for AVATAR_JS-152, removed dead code

This commit is contained in:
jfdenise 2014-01-13 16:10:30 +01:00
parent ab5c8857b7
commit 618783547b
1 changed files with 1 additions and 4 deletions

View File

@ -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);
}
});