Skip to content

Commit

Permalink
Merge branch 'release/v1.6.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
freder committed Sep 9, 2023
2 parents 7a57425 + 944d883 commit e4a1374
Show file tree
Hide file tree
Showing 7 changed files with 951 additions and 2,202 deletions.
4 changes: 4 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 1.6.1
### Fixed
- Fixed bug where _headings-only_ mode wasn't working correctly (#22)

## 1.6.0
### Fixed
- Plugin works in zoomed in view (sub-trees) now!
Expand Down
18 changes: 18 additions & 0 deletions git-hooks/pre-push
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#!/bin/bash

# only allow pushing to this branch if all tests pass
protected_branch='develop'

current_branch=`git branch --show-current`

if [[ $current_branch = $protected_branch ]]; then
source ~/.nvm/nvm.sh
nvm use node
npm run test
result=$?
if [ $result -ne 0 ]; then
echo "tests failed!"
exit 1
fi
fi
exit 0
Loading

0 comments on commit e4a1374

Please sign in to comment.