Skip to content

Commit c4c3d50

Browse files
Fixed upload issue
1 parent 54a1254 commit c4c3d50

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
*.userosscache
1111
*.sln.docstates
1212
src/wwwroot/extensions
13+
src/wwwroot/temp
1314

1415
# User-specific files (MonoDevelop/Xamarin Studio)
1516
*.userprefs

src/Code/PackageHelper.cs

+1-6
Original file line numberDiff line numberDiff line change
@@ -123,18 +123,13 @@ public async Task<Package> ProcessVsix(IFormFile file, string repo, string issue
123123

124124
string vsixFolder = Path.Combine(_extensionRoot, package.ID);
125125

126-
Sanitize(package);
127126
SavePackage(tempFolder, package, vsixFolder);
127+
Sanitize(package);
128128

129129
File.Copy(tempVsix, Path.Combine(vsixFolder, "extension.vsix"), true);
130130

131131
return package;
132132
}
133-
catch (Exception ex)
134-
{
135-
Debug.Write(ex);
136-
return null;
137-
}
138133
finally
139134
{
140135
Directory.Delete(tempFolder, true);

src/wwwroot/temp/67723447-31e8-4d6c-8d8c-eba26dfc1b30/extension.vsix

Whitespace-only changes.

src/wwwroot/temp/75a68ce9-bb9b-4657-b020-96d43651efaa/extension.vsix

Whitespace-only changes.

0 commit comments

Comments
 (0)