1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-27 20:55:25 +00:00
code-server-2/ci/dev
Asher 4b4ec37880
Fix relative paths (#4594)
* Add tests for relativeRoot

* Remove path.posix.join

Since this is for file system paths it feels incorrect to use it on
URL paths as they are different in many ways.

* Rewrite cookie path logic

Before we relied on the client to resolve the base given to it by the
backend against the path.

Instead have the client pass that information along so we can resolve it
on the backend.  This means the client has to do less work.

* Do not remove out directory before watch

This is re-used for incremental compilation.

Also remove del since that was the only use (and we can use fs.rmdir in
the future if we need something like this).

* Remove unused function resolveBase
2021-12-08 15:52:15 -06:00
..
audit.sh feat(ci): add audit job for security 2021-04-06 11:06:04 -07:00
ci.sh feat(ci): add audit job for security 2021-04-06 11:06:04 -07:00
fmt.sh Add vscode via vendor package. 2021-09-15 14:54:33 -04:00
gen_icons.sh chore(deps-dev): bump prettier-plugin-sh from 0.6.1 to 0.7.1 (#3680) 2021-06-28 22:06:55 +05:30
lint.sh Add vscode via vendor package. 2021-09-15 14:54:33 -04:00
postinstall.sh Use frozen lockfile for test dependencies in CI (#4442) 2021-11-04 11:39:27 -05:00
test-e2e.sh fix(testing): revert change & fix playwright tests (#4310) 2021-10-28 15:27:17 -05:00
test-scripts.sh Add installer unit tests 2021-07-13 12:22:00 -05:00
test-unit.sh fix(testing): revert change & fix playwright tests (#4310) 2021-10-28 15:27:17 -05:00
watch.ts Fix relative paths (#4594) 2021-12-08 15:52:15 -06:00