This wasn't caught in tests because all tests had msbuild parameters passed, so this part of the code was never hit. This also changes the tests so that it will be hit in 2 cases.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available: https://github.com/aws/aws-extensions-for-dotnet-cli/issues/274
Description of changes: Pass down both the path in the container and on the host so different parts of the code can do what they need to.
This should also affect this line: https://github.com/Beau-Gosse-dev/aws-extensions-for-dotnet-cli/blob/master/src/Amazon.Lambda.Tools/LambdaDotNetCLIWrapper.cs#L342
This wasn't caught in tests because all tests had msbuild parameters passed, so this part of the code was never hit. This also changes the tests so that it will be hit in 2 cases.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.