Show More
@@ -113,7 +113,10 b' def _verify_node(cmd):' | |||||
113 | except OSError: |
|
113 | except OSError: | |
114 |
|
|
114 | # Command not found | |
115 | return False |
|
115 | return False | |
116 | return return_code == 0 and check_version(out.lstrip('v'), '0.9.12') |
|
116 | if return_code: | |
|
117 | # Command error | |||
|
118 | return False | |||
|
119 | return check_version(out.lstrip('v'), '0.9.12') | |||
117 |
|
120 | |||
118 | # prefer md2html via marked if node.js >= 0.9.12 is available |
|
121 | # prefer md2html via marked if node.js >= 0.9.12 is available | |
119 | # node is called nodejs on debian, so try that first |
|
122 | # node is called nodejs on debian, so try that first |
General Comments 0
You need to be logged in to leave comments.
Login now