Skip to content

Commit 174cc5a

Browse files
committed
rename coderExtension field on featureSet to vscodessh
1 parent 86067f8 commit 174cc5a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/featureSet.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as semver from "semver"
22

33
export type FeatureSet = {
4-
coderExtension: boolean
4+
vscodessh: boolean
55
proxyLogDirectory: boolean
66
}
77

@@ -10,7 +10,7 @@ export type FeatureSet = {
1010
*/
1111
export function featureSetForVersion(version: semver.SemVer | null): FeatureSet {
1212
return {
13-
coderExtension: !(
13+
vscodessh: !(
1414
version?.major === 0 &&
1515
version?.minor <= 14 &&
1616
version?.patch < 1 &&

src/remote.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ export class Remote {
221221
const featureSet = featureSetForVersion(version)
222222

223223
// Server versions before v0.14.1 don't support the vscodessh command!
224-
if (!featureSet.coderExtension) {
224+
if (!featureSet.vscodessh) {
225225
await this.vscodeProposed.window.showErrorMessage(
226226
"Incompatible Server",
227227
{

0 commit comments

Comments
 (0)