Skip to content
This repository was archived by the owner on Nov 24, 2020. It is now read-only.

Commit 8fb6056

Browse files
fix: Remove unnecessary variable declaration
1 parent dbfa21a commit 8fb6056

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/target/typescript_nodeserver.cr

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ END
133133
@io << "\n"
134134
end
135135
@io << "\n"
136-
@io << ident ident "let cacheKey: string | null = null, decodedKey: string | null = null, cacheExpirationSeconds: number | null = null, cacheVersion: number | null = null;\n"
137136
@io << ident ident "if (cacheConfig.#{op.pretty_name}) {\n"
138137
@io << ident ident ident "try {\n"
139138
@io << ident ident ident ident "const {key: cacheKey, expirationSeconds: cacheExpirationSeconds, version: cacheVersion} = await cacheConfig.#{op.pretty_name}(#{(["ctx"] + op.args.map(&.name)).join(", ")});\n"

0 commit comments

Comments
 (0)