Skip to content

Conversation

@jhefferman-sfdc
Copy link
Collaborator

What does this PR do?
Adds a prompt to enable Local Dev for the authenticated org if the user chooses to do so. Removed reliance on environment variable for this.

@W-20406426@

@jhefferman-sfdc jhefferman-sfdc requested review from a team as code owners January 14, 2026 18:39
} catch (error) {
this.log('Error autoenabling local dev', error);
}
if (await MetaUtils.handleLocalDevEnablement(targetOrg.getConnection(undefined))) {
Copy link
Collaborator

@nrkruk nrkruk Jan 14, 2026

Choose a reason for hiding this comment

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

This is a bug and is probably my fault, but we should be using targetOrg.getConnection(apiVersion); everywhere rather than passing undefined. Can you update that in this PR also? Just need to add the apiVersion flag on the other 2 commands:

See

'api-version': Flags.orgApiVersion(),

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