File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import {
1010 handleInspectCommand ,
1111 handleShowLogsCommand ,
1212} from "./logs"
13- import { context , debug , getQueryValue } from "./utils"
13+ import { context , debug , getQueryValue , split } from "./utils"
1414import {
1515 CoderWorkspacesProvider ,
1616 rebuildWorkspace ,
@@ -28,7 +28,7 @@ export const uriHandler: vscode.UriHandler = {
2828 // split on the first non-leading trailing slash which separates the
2929 // action from the resource. The action is not allowed to contain slashes
3030 // but the resource can.
31- const [ action , resource ] = uri . fsPath . replace ( / ^ \/ / , "" ) . split ( "/" )
31+ const [ action , resource ] = split ( uri . path . replace ( / ^ \/ / , "" ) , "/" )
3232 if ( ! action || ! resource ) {
3333 vscode . window . showErrorMessage ( `URI is malformed: "${ uri } "` )
3434 return
You can’t perform that action at this time.
0 commit comments