File tree Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Expand file tree Collapse file tree 1 file changed +1
-11
lines changed Original file line number Diff line number Diff line change @@ -120,14 +120,7 @@ async function main() {
120120
121121 console . log ( '✅ pkgs.zip uploaded successfully' ) ;
122122
123- if ( ! process . env . MARKETPLACE_BASE_URL || ! process . env . MARKETPLACE_AUTH_TOKEN ) {
124- console . error ( '❌ Missing required environment variables:' ) ;
125- if ( ! process . env . MARKETPLACE_BASE_URL ) console . error ( ' - MARKETPLACE_BASE_URL' ) ;
126- if ( ! process . env . MARKETPLACE_AUTH_TOKEN ) console . error ( ' - MARKETPLACE_AUTH_TOKEN' ) ;
127- process . exit ( 1 ) ;
128- }
129-
130- try {
123+ if ( process . env . MARKETPLACE_BASE_URL && process . env . MARKETPLACE_AUTH_TOKEN ) {
131124 console . log ( '🚀 Starting marketplace update...' ) ;
132125 await fetch ( `${ process . env . MARKETPLACE_BASE_URL } /api/admin/refresh` , {
133126 method : 'GET' ,
@@ -136,9 +129,6 @@ async function main() {
136129 }
137130 } ) ;
138131 console . log ( '✅ Marketplace updated successfully' ) ;
139- } catch ( error ) {
140- console . error ( '❌ Marketplace update failed:' ) ;
141- console . error ( error ) ;
142132 }
143133}
144134
You can’t perform that action at this time.
0 commit comments