8000 feat: auto update workspace if required by template by Emyrk · Pull Request #233 · coder/vscode-coder · GitHub
[go: up one dir, main page]

Skip to content

feat: auto update workspace if required by template #233

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
lint
  • Loading branch information
Emyrk committed Apr 2, 2024
commit 94e2680941ff7adc97320fbdfadf9b7063ccd92a
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"use strict"
import axios, { isAxiosError } from "axios"
import { getAuthenticatedUser } from "coder/site/src/api/api"
import { getErrorMessage } from "coder/site/src/api/errors"
import fs from "fs"
import * as https from "https"
import * as module from "module"
Expand All @@ -11,7 +12,6 @@ import { CertificateError, getErrorDetail } from "./error"
import { Remote } from "./remote"
import { Storage } from "./storage"
import { WorkspaceQuery, WorkspaceProvider } from "./workspacesProvider"
import { getErrorMessage } from "coder/site/src/api/errors"

export async function activate(ctx: vscode.ExtensionContext): Promise<void> {
// The Remote SSH extension's proposed APIs are used to override the SSH host
Expand Down
2 changes: 0 additions & 2 deletions src/remote.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
getDeploymentSSHConfig,
getTemplateVersion,
} from "coder/site/src/api/api"
import { getErrorMessage } from "coder/site/src/api/errors"
import { ProvisionerJobLog, Workspace, WorkspaceAgent } from "coder/site/src/api/typesGenerated"
import EventSource from "eventsource"
import find from "find-process"
Expand All @@ -21,7 +20,6 @@ import prettyBytes from "pretty-bytes"
import * as semver from "semver"
import * as vscode from "vscode"
import * as ws from "ws"
import { getErrorDetail } from "./error"
import { getHeaderCommand } from "./headers"
import { SSHConfig, SSHValues, defaultSSHConfigResponse, mergeSSHConfigValues } from "./sshConfig"
import { computeSSHProperties, sshSupportsSetEnv } from "./sshSupport"
Expand Down
0