File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import * as semver from "semver"
2
2
3
3
export type FeatureSet = {
4
- coderExtension : boolean
4
+ vscodessh : boolean
5
5
proxyLogDirectory : boolean
6
6
}
7
7
@@ -10,7 +10,7 @@ export type FeatureSet = {
10
10
*/
11
11
export function featureSetForVersion ( version : semver . SemVer | null ) : FeatureSet {
12
12
return {
13
- coderExtension : ! (
13
+ vscodessh : ! (
14
14
version ?. major === 0 &&
15
15
version ?. minor <= 14 &&
16
16
version ?. patch < 1 &&
Original file line number Diff line number Diff line change @@ -221,7 +221,7 @@ export class Remote {
221
221
const featureSet = featureSetForVersion ( version )
222
222
223
223
// Server versions before v0.14.1 don't support the vscodessh command!
224
- if ( ! featureSet . coderExtension ) {
224
+ if ( ! featureSet . vscodessh ) {
225
225
await this . vscodeProposed . window . showErrorMessage (
226
226
"Incompatible Server" ,
227
227
{
You can’t perform that action at this time.
0 commit comments