Explorar o código

Modernize file browser utils.

Afshin Darian %!s(int64=8) %!d(string=hai) anos
pai
achega
c2df405249
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/filebrowser/utils.ts

+ 2 - 2
src/filebrowser/utils.ts

@@ -3,7 +3,7 @@
 
 import {
   Widget
-} from 'phosphor-widget';
+} from 'phosphor/lib/ui/widget';
 
 import {
   okButton, showDialog
@@ -57,5 +57,5 @@ function showErrorMessage(host: Widget, title: string, error: Error): Promise<vo
     buttons: [okButton],
     okText: 'DISMISS'
   };
-  return showDialog(options).then(() => {});
+  return showDialog(options).then(() => { /* no-op */ });
 }