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(codegen): fix detection of -s for generate-clients #2588

Merged
merged 1 commit into from
Jul 16, 2021

Conversation

adamthom-amzn
Copy link
Contributor

Description

-s/--server-artifacts having a default value makes it see conflicts with
-m/-n/-g even if the caller did not specify them. Removing the default
fixes this.

Testing

ran both yarn generate-clients -g codegen/sdk-codegen/aws-models/dynamodb.2012-08-10.json and yarn generate-clients -s locally.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

-s/--server-artifacts having a default value makes it see conflicts with
-m/-n/-g even if the caller did not specify them. Removing the default
fixes this.
@aws-sdk-js-automation
Copy link

AWS CodeBuild CI Report

  • CodeBuild project: sdk-staging-test
  • Commit ID: 1c797e0
  • Result: SUCCEEDED
  • Build Logs (available for 30 days)

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

@codecov-commenter
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (main@c2e88a4). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2588   +/-   ##
=======================================
  Coverage        ?   60.31%           
=======================================
  Files           ?      513           
  Lines           ?    27377           
  Branches        ?     6582           
=======================================
  Hits            ?    16512           
  Misses          ?    10865           
  Partials        ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c2e88a4...1c797e0. Read the comment docs.

@trivikr trivikr merged commit c989b76 into aws:main Jul 16, 2021
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants