kopia lustrzana https://github.com/c9/core
fix regression with revealtab
rodzic
560d18d31d
commit
0a495532a6
|
@ -1315,6 +1315,8 @@ define(function(require, exports, module) {
|
||||||
write: write,
|
write: write,
|
||||||
|
|
||||||
getPathAsync: function(callback) {
|
getPathAsync: function(callback) {
|
||||||
|
if (!currentSession || !currentSession.getStatus)
|
||||||
|
return callback("not ready");
|
||||||
currentSession.getStatus({}, function(err, result) {
|
currentSession.getStatus({}, function(err, result) {
|
||||||
callback(err, result && util.normalizePath(result.path));
|
callback(err, result && util.normalizePath(result.path));
|
||||||
});
|
});
|
||||||
|
|
Ładowanie…
Reference in New Issue