Skip to content

Commit 50da3cf

Browse files
committed
update changelogs
1 parent 81c0b4c commit 50da3cf

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

packages/core/src/awsService/appBuilder/explorer/samProject.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,7 @@ function getResourceEntity(template: any): ResourceTreeEntity[] {
8484
Handler: resource.Properties?.Handler ?? template?.Globals?.Function?.Handler,
8585
Events: resource.Properties?.Events ? getEvents(resource.Properties.Events) : undefined,
8686
CodeUri: resource.Properties?.CodeUri ?? template?.Globals?.Function?.CodeUri,
87-
Environment: resource.Properties?.Environment
88-
? resource.Properties?.Environment
89-
: template?.Globals?.Function?.Environment,
87+
Environment: resource.Properties?.Environment ?? template?.Globals?.Function?.Environment,
9088
}
9189
resourceTree.push(resourceEntity)
9290
}

packages/core/src/lambda/vue/configEditor/samInvokeBackend.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,7 @@ export async function registerSamDebugInvokeVueCommand(
444444
runtime: resource.resource.Runtime!,
445445
arn: resource.functionArn ?? '',
446446
stackName: resource.stackName ?? '',
447-
environment: resource.resource.Environment ?? undefined,
447+
environment: resource.resource.Environment,
448448
source: source,
449449
})
450450
await telemetry.sam_openConfigUi.run(async (span) => {

packages/core/src/lambda/vue/configEditor/samInvokeComponent.vue

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,6 @@
2929
debugger to the code running in a local Docker container. open
3030
<a href="#" @click.prevent="openLaunchJson">launch.json</a>.<br />
3131
<br />
32-
<strong>Note:</strong> If you are accessing environment variables in your function code, ensure you
33-
input them in the "Additional fields -> Lambda -> Environment variables" section, following JSON
34-
format:<code>{"KEY":"VALUE"}</code>
3532
</em>
3633
</p>
3734
<settings-panel id="config-panel" title="General configuration" description="" :start-collapsed="false">
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Feature",
3+
"description": "Update support for enVar in the webview"
4+
}

0 commit comments

Comments
 (0)