Skip to content

Commit 2c71e6b

Browse files
authored
fix: use windows-compatible filename (#1070)
Cloning the JSR repository may yield errors on Windows, which seems to stem from the `cloudtrace:v2.ts` file. This is because [semicolon may not be a valid character in file names](https://stackoverflow.com/a/31976060). ![image](https://github.com/user-attachments/assets/e37f35c1-6269-4f92-8cc6-37a53401a7a1) To make it easier for Window's users to contribute without errors, I suggest renaming `cloudtrace:v2.ts` to `cloudtrace.v2.ts`.
1 parent d83571f commit 2c71e6b

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

.licenserc.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"frontend/_fresh/",
66
"frontend/node_modules/",
77
"frontend/fresh.gen.ts",
8-
"frontend/utils/cloudtrace:v2.ts",
8+
"frontend/utils/cloudtrace.v2.ts",
99
"target/",
1010
".gcs/",
1111
"terraform/.terraform/",
File renamed without changes.

frontend/utils/tracing.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
CloudTrace,
55
CredentialsClient,
66
Span,
7-
} from "./cloudtrace:v2.ts";
7+
} from "./cloudtrace.v2.ts";
88

99
const CLOUD_TRACE = Deno.env.get("CLOUD_TRACE") === "true";
1010
let CLOUD_TRACE_AUTH: CredentialsClient | null = null;

0 commit comments

Comments
 (0)