Skip to content

Commit e4a1374

Browse files
committed
Merge branch 'release/v1.6.1'
2 parents 7a57425 + 944d883 commit e4a1374

File tree

7 files changed

+951
-2202
lines changed

7 files changed

+951
-2202
lines changed

changelog.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## 1.6.1
4+
### Fixed
5+
- Fixed bug where _headings-only_ mode wasn't working correctly (#22)
6+
37
## 1.6.0
48
### Fixed
59
- Plugin works in zoomed in view (sub-trees) now!

git-hooks/pre-push

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
3+
# only allow pushing to this branch if all tests pass
4+
protected_branch='develop'
5+
6+
current_branch=`git branch --show-current`
7+
8+
if [[ $current_branch = $protected_branch ]]; then
9+
source ~/.nvm/nvm.sh
10+
nvm use node
11+
npm run test
12+
result=$?
13+
if [ $result -ne 0 ]; then
14+
echo "tests failed!"
15+
exit 1
16+
fi
17+
fi
18+
exit 0

0 commit comments

Comments
 (0)