Skip to content

Commit

Permalink
Fix: make the platforms lower case to help with platform independence (
Browse files Browse the repository at this point in the history
  • Loading branch information
glennawatson authored Jun 14, 2019
1 parent f46c2af commit 63c1639
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Pharmacist.Core/ObservablesForEventGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static async Task ExtractEventsFromPlatforms(string outputPath, string pr
var platformExtractor = _platformExtractors[platform];
await platformExtractor.Extract(defaultReferenceAssemblyLocation).ConfigureAwait(false);

using (var stream = new FileStream(Path.Combine(outputPath, $"{prefix}{platform}{suffix}"), FileMode.Create, FileAccess.Write))
using (var stream = new FileStream(Path.Combine(outputPath, $"{prefix}{platform.ToString().ToLowerInvariant()}{suffix}"), FileMode.Create, FileAccess.Write))
{
await WriteHeader(stream).ConfigureAwait(false);
await ExtractEventsFromAssemblies(stream, platformExtractor.Assemblies, platformExtractor.SearchDirectories).ConfigureAwait(false);
Expand Down

0 comments on commit 63c1639

Please # to comment.