Skip to content

Commit

Permalink
fix: bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Yohe-Am committed May 20, 2024
1 parent 389c51c commit 1bcf962
Show file tree
Hide file tree
Showing 32 changed files with 547 additions and 378 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dev/envs/compose.base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ services:
MINIO_REGION_NAME: local
MINIO_ROOT_USER: minio
MINIO_ROOT_PASSWORD: password
MINIO_DEFAULT_BUCKETS: "bucket:none"
MINIO_DEFAULT_BUCKETS: "gate2,artifacts-cache"
10 changes: 5 additions & 5 deletions dev/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ const cwd = resolve(projectDir, "typegate");
const tmpDir = join(projectDir, "tmp");
const env: Record<string, string> = {
"RUST_LOG": "off,xtask=debug,meta=debug",
"RUST_BACKTRACE": "1",
"RUST_BACKTRACE": "0",
"RUST_SPANTRACE": "1",
"RUST_LIB_SPANTRACE": "1",
"RUST_LIB_BACKTRACE": "1",
"LOG_LEVEL": "DEBUG",
// "NO_COLOR": "1",
"DEBUG": "true",
Expand Down Expand Up @@ -237,9 +237,9 @@ console.log(

for (const run of finished.sort((a, b) => a.duration - b.duration)) {
console.log(
`-${run.successes ? "" : "FAILED"} ${run.testFile} -- ${
Math.floor(run.duration / 60_000)
}m${Math.floor(run.duration / 1_000) % 60}s`,
` - ${Math.floor(run.duration / 60_000)}m${
Math.floor(run.duration / 1_000) % 60
}s -- ${run.success ? "" : "FAILED -"}${run.testFile}`,
);
}

Expand Down
4 changes: 2 additions & 2 deletions examples/typegraphs/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"type": "module",
"dependencies": {
"@typegraph/sdk": "link:../../typegraph/node/sdk/dist/"
"@typegraph/sdk": "link:../../typegraph/node/sdk/dist"
},
"devDependencies": {
"tsx": "^4.7.2"
"tsx": "^4.10.4"
}
}
Loading

0 comments on commit 1bcf962

Please sign in to comment.