fix runlint output dir (#19010)
Summary of the issue:
When running runlint.bat outputDir the outputDir is not correctly written to for ruff format.
This is because
The redirection operator > should not be part of the variable assignment. The redirection should be applied when the command is executed.
Description of user facing changes:
None
Description of developer facing changes:
Fixup for writing to a dir when performing ruff format