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

build: prevent * expansion for static css content in ng_web_test_suite #23982

Merged
merged 1 commit into from
Jan 10, 2022
Merged

build: prevent * expansion for static css content in ng_web_test_suite #23982

merged 1 commit into from
Jan 10, 2022

Conversation

kyubisation
Copy link
Contributor

Currently when using a * inside css code (e.g. calc(... * ...) in the typography) it will be expanded to files in the current directory (e.g. calc ... bazel-out external ...), which will break the tests. This PR fixes this by wrapping the variable usage with quotes.

Currently when using a `*` inside css code (e.g. `calc(... * ...)` in the typography) it will be expanded to files in the current directory (e.g. `calc ... bazel-out external ...`), which will break the tests. This PR fixes this by wrapping the variable usage with quotes.
@kyubisation kyubisation requested a review from a team as a code owner November 18, 2021 17:27
@google-cla google-cla bot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Nov 18, 2021
@kyubisation
Copy link
Contributor Author

This is not currently a problem in the angular/components codebase, but if you were to use calc(.. * ...) in your typography in the future, this will prevent you from having to hunt down the error.

@josephperrott josephperrott requested review from devversion and removed request for a team November 18, 2021 17:32
@devversion devversion added merge safe target: patch This PR is targeted for the next patch release action: merge The PR is ready for merge by the caretaker labels Nov 18, 2021
@andrewseguin andrewseguin removed the cla: yes PR author has agreed to Google's Contributor License Agreement label Dec 28, 2021
@wagnermaciel wagnermaciel merged commit 5fcc634 into angular:master Jan 10, 2022
wagnermaciel pushed a commit that referenced this pull request Jan 10, 2022
#23982)

Currently when using a `*` inside css code (e.g. `calc(... * ...)` in the typography) it will be expanded to files in the current directory (e.g. `calc ... bazel-out external ...`), which will break the tests. This PR fixes this by wrapping the variable usage with quotes.

(cherry picked from commit 5fcc634)
@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 Feb 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
action: merge The PR is ready for merge by the caretaker target: patch This PR is targeted for the next patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants