diff --git a/bundles/org.eclipse.orion.client.core/web/orion/pluginregistry.js b/bundles/org.eclipse.orion.client.core/web/orion/pluginregistry.js
index <HASH>..<HASH> 100644
--- a/bundles/org.eclipse.orion.client.core/web/orion/pluginregistry.js
+++ b/bundles/org.eclipse.orion.client.core/web/orion/pluginregistry.js
@@ -283,7 +283,7 @@ define(["orion/Deferred", "orion/EventTarget", "orion/URL-shim"], function(Defer
                 }
             });
 
-            var response = typeof messageId === undefined ? null : {
+            var response = typeof messageId === "undefined" ? null : {
                 id: messageId,
                 result: null,
                 error: null
Fixing bad use of typeof error found by es-lint -- Thank-you very much!