File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 12
12
RootModule = ' AWSLambdaPSCore.psm1'
13
13
14
14
# Version number of this module.
15
- ModuleVersion = ' 4.0.0 .0'
15
+ ModuleVersion = ' 4.0.1 .0'
16
16
17
17
# Supported PSEditions
18
18
CompatiblePSEditions = ' Core'
Original file line number Diff line number Diff line change @@ -194,7 +194,15 @@ function _deployProject
194
194
195
195
$amazonLambdaToolsPath = _configureAmazonLambdaTools
196
196
197
- $env: AWS_EXECUTION_ENV = " AWSLambdaPSCore"
197
+ $moduleVersion = " Unknown"
198
+ $module = $MyInvocation.MyCommand.Module
199
+ if ($module ) {
200
+ $moduleVersion = $module.Version.ToString ()
201
+ }
202
+ # The leading whitespace is intentional
203
+ $userAgent = " lib/AWSLambdaPSCore#$moduleVersion "
204
+
205
+ $env: AWS_EXECUTION_ENV = $userAgent
198
206
try
199
207
{
200
208
if ($DisableInteractive )
You can’t perform that action at this time.
0 commit comments