File tree Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Expand file tree Collapse file tree 2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -649,8 +649,8 @@ def main(argsl=None, # type: List[str]
649
649
if args .version :
650
650
print (versionfunc ())
651
651
return 0
652
- else :
653
- _logger .info (versionfunc ())
652
+ # else:
653
+ # _logger.info(versionfunc())
654
654
655
655
if not args .workflow :
656
656
if os .path .isfile ("CWLFile" ):
Original file line number Diff line number Diff line change @@ -28,13 +28,13 @@ def check_js_threshold_version(working_alias):
28
28
""" parse node version: 'v4.2.6\n ' -> ['4', '2', '6'],
29
29
https://github.com/nodejs/node/blob/master/CHANGELOG.md#nodejs-changelog"""
30
30
31
- try :
32
- v1 , v2 , v3 = [int (v ) for v in subprocess .check_output (
33
- [working_alias , "-v" ]).decode ('ascii' ).strip ().strip ('v' ).split ('.' )]
34
- except Exception as e :
35
- _logger .debug (str (e ))
36
- _logger .debug ("Calling subprocess failed" )
37
- return True
31
+ # try:
32
+ v1 , v2 , v3 = [int (v ) for v in subprocess .check_output (
33
+ [working_alias , "-v" ]).decode ('ascii' ).strip ().strip ('v' ).split ('.' )]
34
+ # except Exception as e:
35
+ # _logger.debug(str(e))
36
+ # _logger.debug("Calling subprocess failed")
37
+ # return True
38
38
39
39
if v1 == 0 :
40
40
if v2 == 10 and v3 <= 25 or v2 < 10 :
You can’t perform that action at this time.
0 commit comments