Skip to content
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(core): bundling with staging disabled returns a relative path #10507

Merged
merged 2 commits into from Sep 24, 2020

Conversation

jogold
Copy link
Contributor

@jogold jogold commented Sep 24, 2020

The change introduced in #9576 did not handle the "staging disabled"
case. As a consequence, when bundling the staged path was always
relative.

Revert to the behavior that was present before this change: when staging
is disabled the staged path is absolute (whether bundling or not).

Closes #10367


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license

The change introduced in aws#9576 did not handle the "staging disabled"
case. As a consequence, when bundling the staged path was always
relative.

Revert to the behavior that was present before this change: when staging
is disabled the staged path is absolute (whether bundling or not).

Closes aws#10367
@jogold
Copy link
Contributor Author

jogold commented Sep 24, 2020

@eladb

eladb
eladb previously approved these changes Sep 24, 2020
@mergify mergify bot dismissed eladb’s stale review September 24, 2020 12:09

Pull request has been modified.

@jogold
Copy link
Contributor Author

jogold commented Sep 24, 2020

@eladb CI failed because the merge back of 1.64.0 was not included (npm ERR! notarget No matching version found for @aws-cdk/aws-applicationinsights@1.63.0.). Can you re-approve?

@jogold
Copy link
Contributor Author

jogold commented Sep 24, 2020

@misterjoshua FYI

@aws-cdk-automation
Copy link
Collaborator

AWS CodeBuild CI Report

  • CodeBuild project: AutoBuildProject6AEA49D1-qxepHUsryhcu
  • Commit ID: c785b67
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

@mergify
Copy link
Contributor

mergify bot commented Sep 24, 2020

Thank you for contributing! Your pull request will be updated from master and then merged automatically (do not update manually, and be sure to allow changes to be pushed to your fork).

@mergify mergify bot merged commit e9b5b8c into aws:master Sep 24, 2020
@jogold jogold deleted the bundling-staging branch September 24, 2020 13:25
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.

[@aws-cdk/aws-lambda-nodejs] Unable to run lambda locally with sam local after updating to aws-cdk@1.61.0
3 participants