fix(helper): ensure prettier plugin is loaded before formatting code
diff --git a/src/common/helper.js b/src/common/helper.js
index e9012a4..80abbf3 100644
--- a/src/common/helper.js
+++ b/src/common/helper.js
@@ -63,7 +63,10 @@
 }
 
 function ensurePrettier() {
-  if (typeof prettier === 'undefined') {
+  if (
+    typeof prettier === 'undefined' ||
+    typeof prettierPlugins === 'undefined'
+  ) {
     return loadScriptsAsync([
       SCRIPT_URLS.prettierDir + '/standalone.js',
       SCRIPT_URLS.prettierDir +