Skip to content

Commit 4a0f23d

Browse files
authored
fix: remove unused date object (#445)
1 parent 01df482 commit 4a0f23d

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

Diff for: CONTRIBUTING.md

+3
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ Some dependencies are not directly used in the source but are required anyway.
125125
- `glob`, `nyc`, `vscode-test`, and `@vscode/test-electron` are currently unused
126126
but we need to switch back to them from `vitest`.
127127

128+
The coder client is vendored from coder/coder. Every now and then, we should be running `yarn upgrade coder --latest`
129+
to make sure we're using up to date versions of the client.
130+
128131
## Releasing
129132

130133
1. Check that the changelog lists all the important changes.

Diff for: src/api.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ export async function waitForBuild(
225225
}
226226

227227
// This fetches the initial bunch of logs.
228-
const logs = await restClient.getWorkspaceBuildLogs(workspace.latest_build.id, new Date())
228+
const logs = await restClient.getWorkspaceBuildLogs(workspace.latest_build.id)
229229
logs.forEach((log) => writeEmitter.fire(log.output + "\r\n"))
230230

231231
// This follows the logs for new activity!

Diff for: yarn.lock

+1-8
Original file line numberDiff line numberDiff line change
@@ -1589,9 +1589,7 @@ [email protected]:
15891589

15901590
"coder@https://github.com/coder/coder#main":
15911591
version "0.0.0"
1592-
resolved "https://github.com/coder/coder#9eb797eb5a2bfb115db1fe8eccad78908a5f8ec1"
1593-
dependencies:
1594-
exec "^0.2.1"
1592+
resolved "https://github.com/coder/coder#975ea23d6f49a4043131f79036d1bf5166eb9140"
15951593

15961594
collapse-white-space@^1.0.2:
15971595
version "1.0.6"
@@ -2543,11 +2541,6 @@ eventsource@*, eventsource@^3.0.5:
25432541
dependencies:
25442542
eventsource-parser "^3.0.0"
25452543

2546-
exec@^0.2.1:
2547-
version "0.2.1"
2548-
resolved "https://registry.yarnpkg.com/exec/-/exec-0.2.1.tgz#2661f0bfc5532918629117cb9f80c7564af2c51f"
2549-
integrity sha512-lE5ZlJgRYh+rmwidatL2AqRA/U9IBoCpKlLriBmnfUIrV/Rj4oLjb63qZ57iBCHWi5j9IjLt5wOWkFYPiTfYAg==
2550-
25512544
expand-template@^2.0.3:
25522545
version "2.0.3"
25532546
resolved "https://registry.yarnpkg.com/expand-template/-/expand-template-2.0.3.tgz#6e14b3fcee0f3a6340ecb57d2e8918692052a47c"

0 commit comments

Comments
 (0)