Skip to content

Commit

Permalink
Merge pull request #312 from contentstack/feat/dx-1170-replace-getDev…
Browse files Browse the repository at this point in the history
…eloperHubUrl-method

dx | 1170 replace get developer hub url method
  • Loading branch information
harshithad0703 authored Aug 28, 2024
2 parents ac72dee + aa20b56 commit c8ac464
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/base-command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ export abstract class BaseCommand<T extends typeof Command> extends Command {
this.validateRegionAndAuth();

this.developerHubBaseUrl =
this.sharedConfig.developerHubBaseUrl || getDeveloperHubUrl();
this.sharedConfig.developerHubBaseUrl || this.developerHubUrl;
if (!this.developerHubBaseUrl) this.developerHubBaseUrl = getDeveloperHubUrl();
await this.initCmaSDK();
await this.initMarketplaceSDK();
}
Expand Down

0 comments on commit c8ac464

Please sign in to comment.