Ver Fonte

hot fix

Steven Silvester há 8 anos atrás
pai
commit
35dcc59126
2 ficheiros alterados com 2 adições e 2 exclusões
  1. 1 1
      jupyterlab/lab.html
  2. 1 1
      src/running/index.ts

+ 1 - 1
jupyterlab/lab.html

@@ -55,7 +55,7 @@ Distributed under the terms of the Modified BSD License.
    * Get the plugins for an entry point.
    */
   var getEntryPoint = function (entryPoint) {
-    let plugins = loader.require(entryPoint);
+    var plugins = loader.require(entryPoint);
     try {
       plugins = loader.extractPlugins(plugins);
     } catch (err) {

+ 1 - 1
src/running/index.ts

@@ -214,7 +214,7 @@ class RunningSessions extends Widget {
       promises.push(terminals.refreshRunning());
     }
     promises.push(sessions.refreshRunning());
-    return Promise.all(promises);
+    return Promise.all(promises).then(() => void 0);
   }
 
   /**