Skip to content

Commit

Permalink
Refactor courtesy WebFreak001.
Browse files Browse the repository at this point in the history
Co-authored-by: Jan Jurzitza <gh@webfreak.org>
  • Loading branch information
veelo and WebFreak001 authored May 27, 2022
1 parent f6d9d04 commit e422117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test.d
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ int main()
const argsFile = source.stripExtension ~ ".args";
const dfmtCommand =
[dfmt, "--brace_style=" ~ braceStyle] ~
(argsFile.exists ? readText(argsFile).splitter!isWhite.filter!(a => a.length).array : []) ~
(argsFile.exists ? readText(argsFile).split : []) ~
[source];
writeln(dfmtCommand.join(" "));
if (const result = spawnProcess(dfmtCommand, stdin, File(outFileName, "w")).wait)
Expand Down

0 comments on commit e422117

Please sign in to comment.