More tweaks to how ./runtests toc runs on Windows

This commit is contained in:
Dan Buch
2016-06-18 16:37:11 -04:00
parent d2596f4c86
commit 8cfdccbf0f
2 changed files with 5 additions and 5 deletions

View File

@@ -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'])