File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " simform-pocket-cli" ,
3- "version" : " 1.0.2 " ,
3+ "version" : " 1.0.3 " ,
44 "description" : " Pocket Deploy command-line utility" ,
55 "homepage" : " https://github.com/SimformSolutionsPvtLtd/pocket-cli/#readme" ,
66 "author" : " Simform Solutions" ,
Original file line number Diff line number Diff line change @@ -134,6 +134,7 @@ const deployApp = async (
134134 } ) ;
135135
136136 let chunkNumber = 1 ;
137+ let downloadPath = '' ;
137138
138139 const blobData = new Blob ( [ fileBuffer ] , {
139140 type : currentFileContentType
@@ -208,6 +209,10 @@ const deployApp = async (
208209 const percentage = Math . floor ( ( chunkNumber / totalChunks ) * 100 ) ;
209210 console . log ( `Upload Progress: ${ percentage } %` ) ;
210211
212+ if ( response ?. data ?. downloadPath ) {
213+ downloadPath = response ?. data ?. downloadPath ;
214+ }
215+
211216 // Increment the chunk number
212217 chunkNumber ++ ;
213218 } else {
@@ -216,6 +221,7 @@ const deployApp = async (
216221 }
217222
218223 console . log ( 'Build Uploaded successfully' ) ;
224+ ! ! downloadPath && console . log ( 'Download Path:' , downloadPath ) ;
219225 return ;
220226 } catch ( error ) {
221227 console . error (
You can’t perform that action at this time.
0 commit comments