Skip to content

Commit 1ed6bc3

Browse files
committed
sandbox temp diff
1 parent 29303c9 commit 1ed6bc3

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

cwltool/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -649,8 +649,8 @@ def main(argsl=None, # type: List[str]
649649
if args.version:
650650
print(versionfunc())
651651
return 0
652-
else:
653-
_logger.info(versionfunc())
652+
# else:
653+
# _logger.info(versionfunc())
654654

655655
if not args.workflow:
656656
if os.path.isfile("CWLFile"):

cwltool/sandboxjs.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ def check_js_threshold_version(working_alias):
2828
""" parse node version: 'v4.2.6\n' -> ['4', '2', '6'],
2929
https://github.com/nodejs/node/blob/master/CHANGELOG.md#nodejs-changelog"""
3030

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
3838

3939
if v1 == 0:
4040
if v2 == 10 and v3 <= 25 or v2 < 10:

0 commit comments

Comments
 (0)