We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4eff547 commit a01a36dCopy full SHA for a01a36d
1 file changed
src/lib/installPlugin.js
@@ -67,7 +67,11 @@ export default async function installPlugin(
67
if (!isDependency) loaderDialog.show();
68
69
let plugin;
70
- if (pluginUrl.includes(constants.API_BASE)) {
+ if (
71
+ pluginUrl.includes(constants.API_BASE) ||
72
+ pluginUrl.startsWith("file:") ||
73
+ pluginUrl.startsWith("content:")
74
+ ) {
75
// Use fsOperation for Acode registry URL
76
plugin = await fsOperation(pluginUrl).readFile(
77
undefined,
0 commit comments