Skip to content

Commit

Permalink
Reorder commands for flake8 when binary chosen directly
Browse files Browse the repository at this point in the history
  • Loading branch information
slaclau authored and fabioz committed May 4, 2024
1 parent aab88a3 commit 5fb8654
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ void createFlake8Process(IExternalCodeAnalysisStream out)
SimpleRunner simpleRunner = new SimpleRunner();

String flake8Executable = FileUtils.getFileAbsolutePath(flake8Location);
cmdList.add(flake8Executable);
cmdList.add(0, flake8Executable);

String[] args = cmdList.toArray(new String[0]);

Expand Down

0 comments on commit 5fb8654

Please sign in to comment.