Explorar el Código

Void promise.

Ian Rose hace 6 años
padre
commit
600d3fbd00
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/extensionmanager-extension/src/index.ts

+ 1 - 1
packages/extensionmanager-extension/src/index.ts

@@ -84,7 +84,7 @@ const plugin: JupyterFrontEndPlugin<void> = {
       label: 'Enable Extension Manager (experimental)',
       execute: () => {
         if (registry) {
-          registry.set(plugin.id, 'enabled', !enabled);
+          void registry.set(plugin.id, 'enabled', !enabled);
         }
       },
       isToggled: () => enabled,