File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -108649,7 +108649,7 @@ async function validateSubscription() {
108649108649 await axios$1.get(API_URL, { timeout: 3000 });
108650108650 }
108651108651 catch (error) {
108652- if (isAxiosError(error) && error.response) {
108652+ if (isAxiosError(error) && error.response?.status === 403 ) {
108653108653 coreExports.error('Subscription is not valid. Reach out to
[email protected] ');
108654108654 process.exit(1);
108655108655 }
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ async function validateSubscription(): Promise<void> {
1515 try {
1616 await axios . get ( API_URL , { timeout : 3000 } ) ;
1717 } catch ( error ) {
18- if ( isAxiosError ( error ) && error . response ) {
18+ if ( isAxiosError ( error ) && error . response ?. status === 403 ) {
1919 core . error (
2020 'Subscription is not valid. Reach out to [email protected] ' 2121 ) ;
You can’t perform that action at this time.
0 commit comments