mirror of
https://github.com/danog/code-server.git
synced 2025-01-23 05:51:12 +01:00
5c61318592
CodeQL caught a path where we were passing in req.query.path to pathToFsPath, which may not have been a string. So we refactored some things to ensure we only pass it a string which also let us change the parameter type to string instead of string | string[].