File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ def analyze(self, params):
3737 return issues
3838
3939 def check_tool_usable (self , tool_params ):
40- cmds = Tool ().get_cmd (["--version" ])
4140 if settings .PLATFORMS [sys .platform ] == "mac" :
4241 return []
43- elif SubProcController (cmds ).wait () != 0 :
42+ cmds = Tool ().get_cmd (["--version" ])
43+ if SubProcController (cmds ).wait () != 0 :
4444 return []
4545 return ["analyze" ]
4646
Original file line number Diff line number Diff line change @@ -32,10 +32,10 @@ def analyze(self, params):
3232 return issues
3333
3434 def check_tool_usable (self , tool_params ):
35- cmds = Tool ().get_cmd (["-v" ])
3635 if settings .PLATFORMS [sys .platform ] == "mac" :
3736 return []
38- elif SubProcController (cmds ).wait () != 0 :
37+ cmds = Tool ().get_cmd (["-v" ])
38+ if SubProcController (cmds ).wait () != 0 :
3939 return []
4040 return ["analyze" ]
4141
You can’t perform that action at this time.
0 commit comments