@@ -140,9 +140,9 @@ function quit(reason) {
140140 "output.action" : _action ,
141141 "output.condition" : _output_condition ,
142142 delay,
143- "quota.required.rest" :_quota_required_rest ,
144- "quota.required.graphql" :_quota_required_graphql ,
145- "quota.required.search" :_quota_required_search ,
143+ "quota.required.rest" : _quota_required_rest ,
144+ "quota.required.graphql" : _quota_required_graphql ,
145+ "quota.required.search" : _quota_required_search ,
146146 "notice.release" : _notice_releases ,
147147 ...config
148148 } = metadata . plugins . core . inputs . action ( { core, preset} )
@@ -192,7 +192,7 @@ function quit(reason) {
192192 Object . assign ( resources , data . resources )
193193 for ( const type of [ "core" , "graphql" , "search" ] ) {
194194 const name = { core : "REST" , graphql : "GraphQL" , search : "Search" } [ type ]
195- const quota = { core :_quota_required_rest , graphql :_quota_required_graphql , search :_quota_required_search } [ type ] ?? 1
195+ const quota = { core : _quota_required_rest , graphql : _quota_required_graphql , search : _quota_required_search } [ type ] ?? 1
196196 info ( `API requests (${ name } )` , resources [ type ] ? `${ resources [ type ] . remaining } /${ resources [ type ] . limit } ${ quota ? ` (${ quota } + required)` : "" } ` : "(unknown)" )
197197 if ( ( resources [ type ] ) && ( resources [ type ] . remaining < quota ) )
198198 ratelimit = true
0 commit comments