Skip to content

Commit 386b501

Browse files
nagilsondsplaisted
authored andcommitted
Remove extra function
verification should happen in the downloader which will probably be deferred to the release deployment library
1 parent 7969a99 commit 386b501

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/Installer/Microsoft.Dotnet.Installation/Internal/ArchiveDotnetExtractor.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,6 @@ public void Prepare()
5454
}
5555
}
5656

57-
/**
58-
Returns a string if the archive is valid within SDL specification, false otherwise.
59-
*/
60-
private void VerifyArchive(string archivePath)
61-
{
62-
if (!File.Exists(archivePath)) // Enhancement: replace this with actual verification logic once its implemented.
63-
{
64-
throw new InvalidOperationException("Archive verification failed.");
65-
}
66-
}
67-
6857
public void Commit()
6958
{
7059
Commit(GetExistingSdkVersions(_request.InstallRoot));

0 commit comments

Comments
 (0)