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(@schematics/update): check if replace is a function #13389

Merged
merged 1 commit into from
Jan 11, 2019

Conversation

joeson1
Copy link
Contributor

@joeson1 joeson1 commented Jan 9, 2019

When substituting environment variables in npmrc options, string replace was also applied on boolean values. This caused the ng update process to fail #10624

@clydin clydin added the target: patch This PR is targeted for the next patch release label Jan 9, 2019
packages/schematics/update/update/npm.ts Outdated Show resolved Hide resolved
Copy link
Member

@clydin clydin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note to caretaker: please squash with the following commit message:
fix(@schematics/update): ensure option is string when replacing environment variable references

Copy link
Collaborator

@alan-agius4 alan-agius4 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kindly squash your commits into a single one.

…onment variable references

When substituting environment variables in npmrc options, string replace was also applied on boolean values. This caused the ng update process to fail
@joeson1
Copy link
Contributor Author

joeson1 commented Jan 11, 2019

@alan-agius4 I squashed the commits

@joeson1 joeson1 closed this Jan 11, 2019
@joeson1 joeson1 reopened this Jan 11, 2019
@kyliau kyliau merged commit 08d067a into angular:master Jan 11, 2019
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 12, 2019
@joeson1 joeson1 deleted the patch-2 branch January 15, 2020 14:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants