Skip to content
Prev Previous commit
Next Next commit
Update src/server/editorServices.ts
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
  • Loading branch information
rbuckton and sandersn authored Jun 3, 2022
commit 78e016c6299d2393dcd8ada85e490fd14a91f503
2 changes: 1 addition & 1 deletion src/server/editorServices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4138,7 +4138,7 @@ namespace ts.server {
}

private async enableRequestedPluginsWorker(pendingPlugins: [Project, Promise<BeginEnablePluginResult>[]][]) {
// This should only be called from `enableRequestedServicePlugins`, which ensures this precondition is met.
// This should only be called from `enableRequestedPluginsAsync`, which ensures this precondition is met.
Debug.assert(this.currentPluginEnablementPromise === undefined);

// Process all pending plugins, partitioned by project. This way a project with few plugins doesn't need to wait
Expand Down