File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
targets/netcore/nanoFramework.nanoCLR.CLI Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1- // Licensed to the .NET Foundation under one or more agreements.
1+ // Licensed to the .NET Foundation under one or more agreements.
22// The .NET Foundation licenses this file to you under the MIT license.
33
44using System ;
@@ -188,7 +188,7 @@ private static async Task<ExitCode> UpdateNanoCLRAsync(
188188 // update if the version is different from the installed one (either the requested target version or the latest available in the repo)
189189 if ( ( ! string . IsNullOrEmpty ( targetVersion )
190190 && ( Version . Parse ( targetVersion ) != installedVersion ) )
191- || ( availableFwVersion > installedVersion ) )
191+ || ( availableFwVersion != installedVersion ) )
192192 {
193193 HttpResponseMessage response = await _httpClient . GetAsync ( packageInfo [ 0 ] . DownloadUrl ) ;
194194 response . EnsureSuccessStatusCode ( ) ;
You can’t perform that action at this time.
0 commit comments