Skip to content

Commit

Permalink
Update react-plugin-factory.ts
Browse files Browse the repository at this point in the history
Signed-off-by: 1000TurquoisePogs <[email protected]>
  • Loading branch information
1000TurquoisePogs authored Sep 17, 2024
1 parent 50d8711 commit beb1270
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ export class ReactPluginFactory extends PluginFactory {
let pluginDefBase = pluginDefinition.getBasePlugin();
let pluginDefAny:any = (pluginDefBase as any);
let entryPoint = 'main.js';
if (pluginDefAny.getWebEntryPoint) {
entryPoint = pluginDefAny.getWebEntryPoint() || 'main.js';
if (pluginDefAny.getWebEntrypoint) {
entryPoint = pluginDefAny.getWebEntrypoint() || 'main.js';
}
return ZoweZLUX.uriBroker.pluginResourceUri(pluginDefBase, entryPoint);
}
Expand Down

0 comments on commit beb1270

Please sign in to comment.