Skip to content

Commit

Permalink
Fixed not working on unix systems because of wrong path separator
Browse files Browse the repository at this point in the history
  • Loading branch information
mariusGundersen committed May 31, 2019
1 parent c926214 commit 459fdd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Clave.Expressionify.CodeGen/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static int Main(string[] args)
if (properties.Any())
{
var newClass = root.WithOnlyTheseProperties(properties);
var newPath = $@"{projectPath}\obj\CodeGen\{path}";
var newPath = Path.Combine(projectPath, "obj", "CodeGen", path);
Directory.CreateDirectory(Path.GetDirectoryName(newPath));
File.WriteAllText(newPath, newClass);
Console.WriteLine(newPath);
Expand Down

0 comments on commit 459fdd6

Please sign in to comment.