Skip to content

Conversation

@naman-contentstack
Copy link
Contributor

No description provided.

@naman-contentstack naman-contentstack self-assigned this Dec 4, 2025
@naman-contentstack naman-contentstack requested a review from a team as a code owner December 4, 2025 12:19
Comment on lines +14 to +16
if(!configHandler.get('CLI_VERSION') || configHandler.get('CLI_VERSION') !== this.config.version) { // if CLI_VERSION is not set or is not the same as the current version, set it
configHandler.set('CLI_VERSION', this.config.version); // set current version in configHandler
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@naman-contentstack , formatting

for (const module of this.sharedConfig.flags.modules || this.sharedConfig.modules) {
// Update audit context with current module
this.auditContext = this.createAuditContext(module);
createLogContext(this.context?.info?.command, '', configHandler.get('authenticationMethod'));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@naman-contentstack , already you're calling createLogContext function at line no 63. Can you try to reuse it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants