Skip to content

Commit 3757fec

Browse files
authored
Merge pull request #10 from cepg3/main
Fix: Add quotes around file paths in CompileCommand for proper handling of spaces in paths
2 parents 5101d91 + 78983b0 commit 3757fec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/tailwindcss-dotnet/Cli/TailwindCli.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ public string[] CompileCommand(string rootPath, bool debug = false)
8888
IEnumerable<string> args = new[]
8989
{
9090
Executable(),
91-
"-i", Path.GetFullPath(Path.Combine("styles", "app.tailwind.css"), rootPath),
92-
"-o", Path.GetFullPath(Path.Combine("wwwroot", "css", "app.css"), rootPath),
91+
"-i", $"\"{Path.GetFullPath(Path.Combine("styles", "app.tailwind.css"), rootPath)}\"",
92+
"-o", $"\"{Path.GetFullPath(Path.Combine("wwwroot", "css", "app.css"), rootPath)}\"",
9393
};
9494

9595
if (!debug)

0 commit comments

Comments
 (0)