We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87e7b79 commit 7a02854Copy full SHA for 7a02854
src/ViewModels/Archive.cs
@@ -23,7 +23,7 @@ public Archive(Repository repo, Models.Branch branch)
23
{
24
_repo = repo;
25
_revision = branch.Head;
26
- _saveFile = $"archive-{Path.GetFileNameWithoutExtension(branch.Name)}.zip";
+ _saveFile = $"archive-{Path.GetFileName(branch.Name)}.zip";
27
BasedOn = branch;
28
View = new Views.Archive() { DataContext = this };
29
}
@@ -41,7 +41,7 @@ public Archive(Repository repo, Models.Tag tag)
41
42
43
_revision = tag.SHA;
44
- _saveFile = $"archive-{tag.Name}.zip";
+ _saveFile = $"archive-{Path.GetFileName(tag.Name)}.zip";
45
BasedOn = tag;
46
47
0 commit comments