mirror of
https://github.com/coder/code-server.git
synced 2026-01-09 07:44:14 +08:00
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.