Skip to content

Commit a57bb52

Browse files
committed
/s/let/const/g
1 parent ceee8db commit a57bb52

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ async function run(): Promise<void> {
1212

1313
switch (process.platform) {
1414
case 'win32': {
15-
let toolUrl = `https://downloads.sqlc.dev/sqlc_${version}_windows_amd64.zip`
15+
const toolUrl = `https://downloads.sqlc.dev/sqlc_${version}_windows_amd64.zip`
1616
const downloadPath = await tc.downloadTool(toolUrl)
1717
const extPath = await tc.extractZip(downloadPath)
1818
const cachedPath = await tc.cacheDir(extPath, 'sqlc', version)
@@ -21,7 +21,7 @@ async function run(): Promise<void> {
2121
}
2222

2323
case 'darwin': {
24-
let toolUrl = `https://downloads.sqlc.dev/sqlc_${version}_darwin_amd64.zip`
24+
const toolUrl = `https://downloads.sqlc.dev/sqlc_${version}_darwin_amd64.zip`
2525
const downloadPath = await tc.downloadTool(toolUrl)
2626
const extPath = await tc.extractZip(downloadPath)
2727
const cachedPath = await tc.cacheDir(extPath, 'sqlc', version)
@@ -30,7 +30,7 @@ async function run(): Promise<void> {
3030
}
3131

3232
case 'linux': {
33-
let toolUrl = `https://downloads.sqlc.dev/sqlc_${version}_linux_amd64.zip`
33+
const toolUrl = `https://downloads.sqlc.dev/sqlc_${version}_linux_amd64.zip`
3434
const downloadPath = await tc.downloadTool(toolUrl)
3535
const extPath = await tc.extractTar(downloadPath)
3636
const cachedPath = await tc.cacheDir(extPath, 'sqlc', version)

0 commit comments

Comments
 (0)