File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,6 @@ export const buildGithubQueryHandler = (
69
69
70
70
if ( hasLicense ) {
71
71
const key = license . spdx_id ;
72
- // eslint-disable-next-line require-atomic-updates
73
72
license . url = licenseCache [ key ]
74
73
? licenseCache [ key ]
75
74
: await extractAndCacheLicense ( license , fetchDetails ) ;
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export default {
38
38
compensation : {
39
39
body :
40
40
'Provide the compensation amount for this job using **only** numbers.' ,
41
- validate : answer => {
41
+ validate : ( answer : string ) => {
42
42
const value = Number . parseFloat ( answer . split ( '$' ) . join ( '' ) ) ;
43
43
const minimalCompensation = Number . parseFloat ( MINIMAL_COMPENSATION ) ;
44
44
return ! Number . isNaN ( value ) && value >= minimalCompensation ;
You can’t perform that action at this time.
0 commit comments