Skip to content

Commit

Permalink
fix(deps): ts5.5
Browse files Browse the repository at this point in the history
  • Loading branch information
kirillgroshkov committed Jun 20, 2024
1 parent 0c45a54 commit 094a4a4
Show file tree
Hide file tree
Showing 4 changed files with 553 additions and 740 deletions.
2 changes: 1 addition & 1 deletion src/deploy/deploy.util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ export async function createDeployInfo(
gaeProject = gaeProjectByBranch[gitBranch] || gaeProject

if (gaeServiceByBranch[gitBranch]) {
gaeService = validateGAEServiceName(gaeServiceByBranch[gitBranch]!)
gaeService = validateGAEServiceName(gaeServiceByBranch[gitBranch])
} else {
gaeService = validateGAEServiceName([gitBranch, gaeService].join('--'))
}
Expand Down
4 changes: 2 additions & 2 deletions src/server/serverStatsMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,9 +127,9 @@ export function serverStatsMiddleware(): BackendRequestHandler {
'5xx': 0,
}

serverStatsMap[endpoint]!.stack.push(latency)
serverStatsMap[endpoint].stack.push(latency)
if (res.statusCode) {
serverStatsMap[endpoint]![getStatusFamily(res.statusCode)]++
serverStatsMap[endpoint][getStatusFamily(res.statusCode)]++
}

if (now - lastCleanup > 60_000) {
Expand Down
1 change: 0 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"extends": "@naturalcycles/dev-lib/cfg/tsconfig.json",
"compilerOptions": {
"skipLibCheck": true, // because of https://github.com/dcodeIO/long.js/issues/109
"outDir": "./dist",
},
"include": ["src"],
"exclude": ["**/__exclude"],
Expand Down
Loading

0 comments on commit 094a4a4

Please sign in to comment.