Skip to content
This repository was archived by the owner on Jan 24, 2024. It is now read-only.

Commit 00eeb5f

Browse files
authored
Merge pull request #200 from reyoung/feature/fix_precommit_ipynb
Fix convert_markdown_into_ipynb script
2 parents eeb4d93 + 43c5a17 commit 00eeb5f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ before_install:
1919
- pip install -U virtualenv pre-commit pip
2020
- GOPATH=/tmp/go go get -u github.com/wangkuiyi/ipynb/markdown-to-ipynb
2121
script:
22-
- travis/precommit.sh
22+
- PATH=/tmp/go/bin:$PATH travis/precommit.sh
2323
notifications:
2424
email:
2525
on_success: change

pre-commit-hooks/convert_markdown_into_ipynb.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
for file in $@ ; do
3-
/tmp/go/bin/markdown-to-ipynb < $file > ${file%.*}".ipynb"
3+
markdown-to-ipynb < $file > ${file%.*}".ipynb"
44
if [ $? -ne 0 ]; then
55
echo >&2 "markdown-to-ipynb $file error"
66
exit 1

0 commit comments

Comments
 (0)