Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dist/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -108649,7 +108649,7 @@ async function validateSubscription() {
await axios$1.get(API_URL, { timeout: 3000 });
}
catch (error) {
if (isAxiosError(error) && error.response) {
if (isAxiosError(error) && error.response?.status === 403) {
coreExports.error('Subscription is not valid. Reach out to support@stepsecurity.io');
process.exit(1);
}
Expand Down
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function validateSubscription(): Promise<void> {
try {
await axios.get(API_URL, {timeout: 3000});
} catch (error) {
if (isAxiosError(error) && error.response) {
if (isAxiosError(error) && error.response?.status === 403) {
core.error(
'Subscription is not valid. Reach out to support@stepsecurity.io'
);
Expand Down
Loading