Skip to content

Commit

Permalink
Merge pull request #637 from zowe/bugfix/v3/entrypoint-typo
Browse files Browse the repository at this point in the history
Fix typo in angular and react plugin factory
  • Loading branch information
timgerstel authored Sep 17, 2024
2 parents ddaac09 + beb1270 commit 583cbc0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ export class Angular2PluginFactory 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
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 583cbc0

Please sign in to comment.