Explorar el Código

Remove unnecessary check.

Ian Rose hace 8 años
padre
commit
0f5e418897
Se han modificado 1 ficheros con 0 adiciones y 3 borrados
  1. 0 3
      packages/filebrowser/src/listing.ts

+ 0 - 3
packages/filebrowser/src/listing.ts

@@ -1350,9 +1350,6 @@ class DirListing extends Widget {
    */
   private _onActivateRequested(sender: IDocumentManager, args: string): void {
     let dirname = PathExt.dirname(args);
-    if (dirname === '.') {
-      dirname = '';
-    }
     if (dirname !== this._model.path) {
       return;
     }