Skip to content

Commit

Permalink
fix $tag_filter check
Browse files Browse the repository at this point in the history
related: #223
  • Loading branch information
vito committed Dec 4, 2018
1 parent 57614ae commit 7255ec1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/check
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ configure_git_global "${git_config_payload}"
destination=$TMPDIR/git-resource-repo-cache

tagflag=""
if [ -d $tag_filter ]; then
if [ -n "$tag_filter" ]; then
tagflag="--tags"
fi

Expand Down
2 changes: 1 addition & 1 deletion assets/in
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ if test "$depth" -gt 0 2> /dev/null; then
fi

tagflag=""
if [ -d $tag_filter ]; then
if [ -n "$tag_filter" ]; then
tagflag="--tags"
fi

Expand Down

0 comments on commit 7255ec1

Please sign in to comment.