-
Notifications
You must be signed in to change notification settings - Fork 276
Simplify relative paths to webapp/vendor #2635
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
Conversation
We missed it in commit ab267ec (Put lib/vendor close to the webapp, 2024-06-23).
When the vendor directory was in lib/vendor, the relative paths from within the webapp directory were "../lib/vendor". When lib/vendor was moved to webapp/vendor in commit ab267ec (Put lib/vendor close to the webapp, 2024-06-23), the relative paths were updated to "../webapp/vendor". This commit simplifies the relative paths to just "vendor" (since we are already in the webapp directory).
The string manipulation can be done in pure sh, there is no need for grep and sed.
cce4d1b
to
70c662e
Compare
There is no need to repeat the common prefix "webapp/". In fact earlier in the same file it was already using the simpler path.
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
I was playing with the web demo just before, not sure if it's related to the Sentry issue but thought I should mention anyway. |
It is not, the dump in demoweb has some issues and we never take the time to create a new (proper) dump. |
Continued from #2618 (comment).
Also fix a leftover reference to lib/vendor.
Also simplify an unrelated path in webapp/tests/*.