@@ -655,28 +655,28 @@ private Hashtable GetMetadataFromNupkg(string packageName, string packagePath, s
655655
656656 List < string > pkgTags = new List < string > ( ) ;
657657 _cmdletPassedIn . WriteVerbose ( $ "nuspecFilePath: { nuspecFilePath } ") ;
658- string path = tempDiscoveryPath ;
659- try {
660- // Get the files in the directory
661- string [ ] files = Directory . GetFiles ( path ) ;
662- // Get the directories in the directory
663- string [ ] directories = Directory . GetDirectories ( path ) ;
664- // Output the files
665- Console . WriteLine ( "Files:" ) ;
666- foreach ( string file in files )
667- {
668- Console . WriteLine ( file ) ;
669- }
670- // Output the directories
671- Console . WriteLine ( "\n Directories:" ) ;
672- foreach ( string directory in directories )
673- {
674- Console . WriteLine ( directory ) ;
675- }
676- } catch ( Exception e )
677- {
678- Console . WriteLine ( "An error occurred: " + e . Message ) ;
679- }
658+ // string path = tempDiscoveryPath;
659+ // try {
660+ // // Get the files in the directory
661+ // string[] files = Directory.GetFiles(path);
662+ // // Get the directories in the directory
663+ // string[] directories = Directory.GetDirectories(path);
664+ // // Output the files
665+ // Console.WriteLine("Files:");
666+ // foreach (string file in files)
667+ // {
668+ // Console.WriteLine(file);
669+ // }
670+ // // Output the directories
671+ // Console.WriteLine("\nDirectories:");
672+ // foreach (string directory in directories)
673+ // {
674+ // Console.WriteLine(directory);
675+ // }
676+ // } catch (Exception e)
677+ // {
678+ // Console.WriteLine("An error occurred: " + e.Message);
679+ // }
680680
681681 if ( File . Exists ( psd1FilePath ) )
682682 {
0 commit comments