Removed nested objects from Microsoft User Secrets
This commit is contained in:
@ -126,7 +126,7 @@ internal class HelperNuget
|
||||
}
|
||||
if (string.IsNullOrEmpty(nugetConfiguration.KeyFileExtension))
|
||||
continue;
|
||||
fileInfo = new(file);
|
||||
fileInfo = new(Path.ChangeExtension(file, nugetConfiguration.KeyFileExtension));
|
||||
checkFileInfo = new(Path.Combine(nugetConfiguration.Destination, Path.ChangeExtension(fileInfo.Name, nugetConfiguration.KeyFileExtension)));
|
||||
if (!checkFileInfo.Exists || fileInfo.LastWriteTime != checkFileInfo.LastWriteTime || fileInfo.Length != checkFileInfo.Length)
|
||||
File.Copy(fileInfo.FullName, checkFileInfo.FullName, overwrite: true);
|
||||
|
Reference in New Issue
Block a user