More tweaks to how ./runtests toc
runs on Windows
This commit is contained in:
6
runtests
6
runtests
@@ -94,8 +94,10 @@ def _migrations():
|
||||
|
||||
@_target
|
||||
def _toc():
|
||||
npm_bindir = check_output(['npm', 'bin']).strip()
|
||||
_run(['node', os.path.join(npm_bindir, 'markdown-toc'), '-i', 'README.md'])
|
||||
_run([
|
||||
'node', os.path.join('node_modules', '.bin', 'markdown-toc'),
|
||||
'-i', 'README.md'
|
||||
])
|
||||
_run(['git', 'diff', '--quiet'])
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user