This repository was archived by the owner on Feb 20, 2026. It is now read-only.
fix: fix build so it includes expected files (and modify test to catch this)#847
Merged
nolanmar511 merged 1 commit intogoogleapis:mainfrom Jul 7, 2022
Merged
Conversation
Codecov Report
@@ Coverage Diff @@
## main #847 +/- ##
=======================================
Coverage 68.87% 68.87%
=======================================
Files 7 7
Lines 1253 1253
Branches 58 58
=======================================
Hits 863 863
Misses 389 389
Partials 1 1 Continue to review full report at Codecov.
|
Contributor
Author
|
With change to integration_test.go only, I got the following error (reproducing the failure we've seen when trying to use v5.0.0) If I can make this test pass, that's a a sign that the build process has been fixed. |
920fdb3 to
77548ae
Compare
amchiclet
approved these changes
Jul 7, 2022
Contributor
amchiclet
left a comment
There was a problem hiding this comment.
Thanks for fixing this!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change does the following:
import * as packageJson from '../package.json';toconst packageJson = require('../../package.json');, which results in the build fromnpm publish --dry-runincluding ".js" files.BEGIN_COMMIT_OVERRIDE
fix: fix build so it includes expected files (and modify test to catch this)
END_COMMIT_OVERRIDE