Browse Source

Fix linting issues #7874

selango 5 years ago
parent
commit
050d102e40
1 changed files with 6 additions and 6 deletions
  1. 6 6
      packages/docmanager-extension/src/index.ts

+ 6 - 6
packages/docmanager-extension/src/index.ts

@@ -242,16 +242,16 @@ ${fileTypes}`;
       }
     });
 
-    //callback to registry change that ensures not to invoke reload method when there is already a promise that is pending
+    // callback to registry change that ensures not to invoke reload method when there is already a promise that is pending
     let reloadSettingsRegistry = () => {
       let promisePending = false;
 
       return async () => {
-          if(!promisePending) {
-            promisePending = true;
-            await settingRegistry.reload(pluginId);
-            promisePending = false;
-          }
+        if (!promisePending) {
+          promisePending = true;
+          await settingRegistry.reload(pluginId);
+          promisePending = false;
+        }
       };
     };