Skip to content
This repository was archived by the owner on Mar 11, 2026. It is now read-only.

fix: do not replace projectId on stream objects#53

Merged
JustinBeckwith merged 1 commit intomasterfrom
fix-no-replace-stream
Nov 14, 2018
Merged

fix: do not replace projectId on stream objects#53
JustinBeckwith merged 1 commit intomasterfrom
fix-no-replace-stream

Conversation

@jkwlui
Copy link
Copy Markdown
Contributor

@jkwlui jkwlui commented Nov 14, 2018

googleapis/nodejs-storage#390 points out that OOM happens when replaceProjectIdToken() is passed { 'Content-Type': 'image/jpeg', body: [DestroyableTransform] } where the function tries to iterate through the stream's properties.

The stream doesn't contain strings that needs replacing, so let's skip this.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 14, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants