fix(compiler-cli): allow relative rootDir#41359
fix(compiler-cli): allow relative rootDir#41359literalpie wants to merge 2 commits intoangular:masterfrom
Conversation
4bf7f49 to
851ea1e
Compare
petebacondarwin
left a comment
There was a problem hiding this comment.
Great! Thanks @literalpie - I think this unit test is enough.
Can you modify the commit message? It doesn't need to mention the previous PR particularly, IMO. Perhaps:
fix(compiler-cli): resolve `rootDirs` to absolute paths
Ensure that `rootDirs` are absolute by resolving them against the
current working directory.
Fixes #36290
851ea1e to
d74a830
Compare
|
@petebacondarwin done! |
|
Thanks for picking this up @literalpie! |
d74a830 to
b5734f2
Compare
Ensure that `rootDirs` are absolute by resolving them against the current working directory. Fixes angular#36290
b5734f2 to
68840e2
Compare
|
I once prepped an example of how this could be testing in an "integration-like" test in JoostK@c08c753, as without such a test this is easy to regress in. @literalpie could you have a look at adding a test like that? |
96b7dcc to
ba9f1d4
Compare
|
@literalpie CI is not yet happy with the second commit; it wants it to have a short body. |
this will make it easier to detect regressions of the relative rootDir behavior
ba9f1d4 to
32cb493
Compare
|
@JoostK i think it's better now. Thanks for your help and for your patience |
this will make it easier to detect regressions of the relative rootDir behavior PR Close #41359
|
@literalpie Thanks again for your contribution!! |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Issue Number: #36290
What is the new behavior?
If a relative rootDir is passed in, an error is no longer thrown
Does this PR introduce a breaking change?
Other information
Building off of #36291 by @Toxicable with test added and other recommended changes.