diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index cd59f212..8632154a 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -125,6 +125,9 @@ Some dependencies are not directly used in the source but are required anyway. - `glob`, `nyc`, `vscode-test`, and `@vscode/test-electron` are currently unused but we need to switch back to them from `vitest`. +The coder client is vendored from coder/coder. Every now and then, we should be running `yarn upgrade coder --latest` +to make sure we're using up to date versions of the client. + ## Releasing 1. Check that the changelog lists all the important changes. diff --git a/src/api.ts b/src/api.ts index 46196b69..51e15416 100644 --- a/src/api.ts +++ b/src/api.ts @@ -225,7 +225,7 @@ export async function waitForBuild( } // This fetches the initial bunch of logs. - const logs = await restClient.getWorkspaceBuildLogs(workspace.latest_build.id, new Date()) + const logs = await restClient.getWorkspaceBuildLogs(workspace.latest_build.id) logs.forEach((log) => writeEmitter.fire(log.output + "\r\n")) // This follows the logs for new activity! diff --git a/yarn.lock b/yarn.lock index ebea933c..4c5f0ec8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1589,9 +1589,7 @@ co@3.1.0: "coder@https://github.com/coder/coder#main": version "0.0.0" - resolved "https://github.com/coder/coder#9eb797eb5a2bfb115db1fe8eccad78908a5f8ec1" - dependencies: - exec "^0.2.1" + resolved "https://github.com/coder/coder#975ea23d6f49a4043131f79036d1bf5166eb9140" collapse-white-space@^1.0.2: version "1.0.6" @@ -2543,11 +2541,6 @@ eventsource@*, eventsource@^3.0.5: dependencies: eventsource-parser "^3.0.0" -exec@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/exec/-/exec-0.2.1.tgz#2661f0bfc5532918629117cb9f80c7564af2c51f" - integrity sha512-lE5ZlJgRYh+rmwidatL2AqRA/U9IBoCpKlLriBmnfUIrV/Rj4oLjb63qZ57iBCHWi5j9IjLt5wOWkFYPiTfYAg== - expand-template@^2.0.3: version "2.0.3" resolved "https://registry.yarnpkg.com/expand-template/-/expand-template-2.0.3.tgz#6e14b3fcee0f3a6340ecb57d2e8918692052a47c"