소스 검색

Modernize file browser utils.

Afshin Darian 8 년 전
부모
커밋
c2df405249
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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 */ });
 }