Skip to content

Commit

Permalink
Don't run bash with the -l option
Browse files Browse the repository at this point in the history
  • Loading branch information
mahboud authored and Travis Jeffery committed Dec 19, 2016
1 parent 287d3b8 commit 1db7393
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ClangFormat/TRVSFormatter.m
Expand Up @@ -216,7 +216,7 @@ - (void)fragmentsOfContinuousLineRanges:(NSArray *)continuousLineRanges
task.standardOutput = outputPipe;
task.standardError = errorPipe;
task.launchPath = shellString;
task.arguments = @[ @"-l", @"-c", @"which clang-format" ];
task.arguments = @[ @"-c", @"which clang-format" ];

[task launch];
[task waitUntilExit];
Expand Down

0 comments on commit 1db7393

Please sign in to comment.