File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 14
14
"jest" : " ^24.9.0" ,
15
15
"lambda-local" : " ^1.6.3" ,
16
16
"node-fetch" : " ^2.6.1" ,
17
- "prettier" : " ^1.18.2 " ,
17
+ "prettier" : " 2.1.1 " ,
18
18
"ts-jest" : " ^24.1.0" ,
19
19
"typescript" : " ^3.6.4"
20
20
},
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export async function handler(): Promise<RandomResponse | ErrorResponse> {
22
22
statusCode : 200 ,
23
23
body : payload ,
24
24
}
25
- } catch ( e ) {
25
+ } catch ( err : unknown ) {
26
26
return {
27
27
statusCode : 500 ,
28
28
message : 'Something went wrong' ,
Original file line number Diff line number Diff line change @@ -3393,10 +3393,10 @@ prettier-linter-helpers@^1.0.0:
3393
3393
dependencies :
3394
3394
fast-diff "^1.1.2"
3395
3395
3396
- prettier@^1.18.2 :
3397
- version "1.18.2 "
3398
- resolved "https://registry.yarnpkg. com/ prettier/-/prettier-1.18.2. tgz#6823e7c5900017b4bd3acf46fe9ac4b4d7bda9ea "
3399
- integrity sha512-OeHeMc0JhFE9idD4ZdtNibzY0+TPHSpSSb9h8FqtP+YnoZZ1sl8Vc9b1sasjfymH3SonAF4QcA2+mzHPhMvIiw ==
3396
+ prettier@2.1.1 :
3397
+ version "2.1.1 "
3398
+ resolved "https://extend-159581800400.d.codeartifact.us-east-1.amazonaws. com:443/npm/extend-npm/ prettier/-/prettier-2.1.1. tgz#d9485dd5e499daa6cb547023b87a6cf51bee37d6 "
3399
+ integrity sha512-9bY+5ZWCfqj3ghYBLxApy2zf6m+NJo5GzmLTpr9FsApsfjriNnS2dahWReHMi7qNPhhHl9SYHJs2cHZLgexNIw ==
3400
3400
3401
3401
pretty-format@^24.9.0 :
3402
3402
version "24.9.0"
You can’t perform that action at this time.
0 commit comments