-
Notifications
You must be signed in to change notification settings - Fork 494
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(appbuilder): Update support for enVar in the webview #6413
base: master
Are you sure you want to change the base?
Conversation
|
@@ -81,10 +84,12 @@ function getResourceEntity(template: any): ResourceTreeEntity[] { | |||
Handler: resource.Properties?.Handler ?? template?.Globals?.Function?.Handler, | |||
Events: resource.Properties?.Events ? getEvents(resource.Properties.Events) : undefined, | |||
CodeUri: resource.Properties?.CodeUri ?? template?.Globals?.Function?.CodeUri, | |||
Environment: resource.Properties?.Environment | |||
? resource.Properties?.Environment | |||
: template?.Globals?.Function?.Environment, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we provide this if-else condition like we did for other fields,
Environment: resource.Properties?.Environment ?? template?.Globals?.Function?.Environment
@@ -441,6 +444,7 @@ export async function registerSamDebugInvokeVueCommand( | |||
runtime: resource.resource.Runtime!, | |||
arn: resource.functionArn ?? '', | |||
stackName: resource.stackName ?? '', | |||
environment: resource.resource.Environment ?? undefined, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
environment: resource.resource.Environment ?? undefined, | |
environment: resource.resource.Environment, |
Problem
Update support for enVar in the webview
feature/x
branches will not be squash-merged at release time.