actually call the getter (#1800)

This commit is contained in:
Mike Sawka 2025-01-22 17:50:02 -08:00 committed by GitHub
parent 68cf3fd412
commit 735d963aae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -781,7 +781,7 @@ export class PreviewModel implements ViewModel {
}
async formatRemoteUri(path: string, get: Getter): Promise<string> {
const conn = (await globalStore.get(this.connection)) ?? "local";
const conn = (await get(this.connection)) ?? "local";
return `wsh://${conn}/${path}`;
}
}