From 03ba20c18fb29fa2eeb3d7d10e5121875917992d Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 2 Apr 2012 15:42:59 +0800 Subject: [PATCH] File.js --- File.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/File.js b/File.js index 2bab6270..53a4fad5 100644 --- a/File.js +++ b/File.js @@ -113,8 +113,8 @@ var File = { * @returns {String} the resolved path path. * */ - realpath : function (path) { - return this.canonical(path); + realpath : function (path) { + return imports.os.realpath(path); }, canonical : function (path) { var f = Gio.file_new_for_path(String(path)); -- 2.39.2