File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ protected async System.Threading.Tasks.Task<ExitCodes> DownloadAndExtractAsync()
151151
152152 HttpResponseMessage response = await _cloudsmithClient . GetAsync ( requestUri ) ;
153153
154- var responseBody = await response . Content . ReadAsStringAsync ( ) ;
154+ string responseBody = await response . Content . ReadAsStringAsync ( ) ;
155155
156156 // check for empty array
157157 if ( responseBody == "[]" )
@@ -167,7 +167,9 @@ protected async System.Threading.Tasks.Task<ExitCodes> DownloadAndExtractAsync()
167167
168168 requestUri = $ "{ _cloudsmithPackages } /{ _communityTargetsRepo } /?page=1&query={ _targetName } { fwVersion } ";
169169
170- await _cloudsmithClient . GetAsync ( requestUri ) ;
170+ response = await _cloudsmithClient . GetAsync ( requestUri ) ;
171+
172+ responseBody = await response . Content . ReadAsStringAsync ( ) ;
171173
172174 if ( responseBody == "[]" )
173175 {
You can’t perform that action at this time.
0 commit comments