Explorar el Código

Remove incorrect check.

Ian Rose hace 8 años
padre
commit
8697d0b8e6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/filebrowser/src/model.ts

+ 1 - 1
packages/filebrowser/src/model.ts

@@ -386,7 +386,7 @@ class FileBrowserModel implements IDisposable {
    * Handle a change on the contents manager.
    */
   private _onFileChanged(sender: Contents.IManager, change: Contents.IChangedArgs): void {
-    let path = this._model.path || '.';
+    let path = this._model.path;
     let value = change.oldValue;
     if (value && value.path && PathExt.dirname(value.path) === path) {
       this._fileChanged.emit(change);