Resolved #568: Downloaded templates contains an empty file with the project name.

pull/582/head
Halil ibrahim Kalkan 7 years ago
parent 11098e067f
commit 0fb6a00922

@ -41,13 +41,13 @@ namespace Volo.Utils.SolutionTemplating.Zipping
fileName = fileName.RemovePreFix(rootFolder);
}
fileName = fileName.EnsureStartsWith('/');
if (fileName.IsNullOrEmpty())
{
continue;
}
fileName = fileName.EnsureStartsWith('/');
fileEntries.Add(new FileEntry(fileName, entryStream.GetAllBytes(), zipEntry.IsDirectory));
}
}

Loading…
Cancel
Save