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

testing/ProgramTest: Don't always fail write package.json #12700

Merged
merged 1 commit into from Apr 19, 2023

Conversation

abhinav
Copy link
Contributor

@abhinav abhinav commented Apr 18, 2023

The function writePackageJSON used by ProgramTest
always returns a non-nil error--even when encode succeded
because it unconditionally wraps the result with an error.

The function `writePackageJSON` used by ProgramTest
always returns a non-nil error--even when encode succeded
because it unconditionally wraps the result with an error.
Copy link
Contributor Author

abhinav commented Apr 18, 2023

Current dependencies on/for this PR:

This comment was auto-generated by Graphite.

@pulumi-bot
Copy link
Contributor

Changelog

[uncommitted] (2023-04-18)

Bug Fixes

  • [pkg/testing] Fix failure in writing a package.json for test overrides.
    #12700

@abhinav abhinav requested a review from a team April 18, 2023 22:55
@abhinav
Copy link
Contributor Author

abhinav commented Apr 19, 2023

bors try

bors bot added a commit that referenced this pull request Apr 19, 2023
@bors
Copy link
Contributor

bors bot commented Apr 19, 2023

try

Build failed:

@abhinav
Copy link
Contributor Author

abhinav commented Apr 19, 2023

bors merge

@bors
Copy link
Contributor

bors bot commented Apr 19, 2023

Build succeeded:

@bors bors bot merged commit a1c0e51 into master Apr 19, 2023
42 checks passed
@bors bors bot deleted the abhinav/programtest-node-writejson branch April 19, 2023 19:39
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.

None yet

3 participants