mirror of https://github.com/coder/code-server.git
7ce9ee0db6
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. |
||
---|---|---|
.. | ||
util.test.ts |