Commit 50c74a4a authored by Dustin Howett's avatar Dustin Howett

Fix Format-Clang to use Get-Item & expand paths

parent 01e74215
......@@ -3,4 +3,4 @@ Param (
[Parameter(Mandatory=$true,ValueFromPipeline=$true)]
[string[]]$Files
)
& clang-format -i ($Files -Join " ")
& clang-format -i (Get-Item $Files | Select -Expand FullName)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment