1
0
mirror of https://github.com/coder/code-server.git synced 2024-12-05 07:13:06 +08:00
code-server/src/node
Joe Previte 7ce9ee0db6
fix: check path is string in pathToFsPath
There's a chance this function can be called with a path that is not a string.

To catch that, we check if path is of a different type and throw an error if it
is.

This also adds a couple tests for this function.
2021-07-12 16:39:42 -07:00
..
routes fix(http): escape req.query.to in replaceTemplates 2021-07-01 10:43:37 -07:00
app.ts Share common util code with VS Code 2021-05-04 13:29:40 -05:00
cli.ts feat: check for empty str in isHashMatch 2021-06-08 15:10:59 -07:00
coder_cloud.ts remove references of coder could 2021-03-16 22:59:30 -04:00
constants.ts Add dev mode constant 2021-05-05 10:16:01 -05:00
entry.ts Refactor integration tests to use main entry point 2021-05-05 12:24:41 -05:00
heart.ts heart.ts: Fix leak when server closes 2021-01-20 02:06:44 -05:00
http.ts fix(http): escape req.query.to in replaceTemplates 2021-07-01 10:43:37 -07:00
main.ts Refactor integration tests to use main entry point 2021-05-05 12:24:41 -05:00
plugin.ts Delegate authentication to plugins 2021-02-12 16:50:23 -06:00
proxy_agent.ts proxy_agent: Use proxy-from-env for robustness 2020-12-18 11:10:07 -05:00
proxy.ts Update proxy path passthrough documentation 2021-02-05 11:44:38 -05:00
settings.ts Replace fs-extra with fs.promises 2021-03-16 12:51:08 -05:00
socket.ts chore: update CHANGELOG 2021-05-13 12:10:22 -07:00
update.ts update.ts: Fix response memory leak 2020-12-04 02:34:43 -05:00
util.ts fix: check path is string in pathToFsPath 2021-07-12 16:39:42 -07:00
vscode.ts Fix tsc watch restarting when it shouldn't 2021-04-01 10:58:56 -05:00
wrapper.ts feat: bump ts-node to 9.1.1 2021-03-30 16:46:49 -07:00
wsRouter.ts Add health websocket 2021-02-09 13:09:33 -06:00