File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -279,7 +279,7 @@ async Task RemoveRedundantFolder(List<SyncFolderPathInfo> syncFolderPathInfoList
279279 return ;
280280 }
281281
282- if ( Directory . EnumerateFiles ( folder , "*" , SearchOption . AllDirectories ) . Any ( ) )
282+ if ( Directory . EnumerateFiles ( folder , "*" , SearchOption . AllDirectories ) . Any ( ) )
283283 {
284284 // 如果存在文件,则不是空文件夹,不能删除
285285 continue ;
Original file line number Diff line number Diff line change @@ -209,7 +209,7 @@ public static int GetAvailablePort(IPAddress ip)
209209 using var socket = new Socket ( SocketType . Stream , ProtocolType . Tcp ) ;
210210 socket . Bind ( new IPEndPoint ( ip , 0 ) ) ;
211211 socket . Listen ( 1 ) ;
212- var ipEndPoint = ( IPEndPoint ) socket . LocalEndPoint ! ;
212+ var ipEndPoint = ( IPEndPoint ) socket . LocalEndPoint ! ;
213213 var port = ipEndPoint . Port ;
214214 return port ;
215215 }
You can’t perform that action at this time.
0 commit comments