Skip to content

Commit

Permalink
Adding more defensiveness to githubpages logic, and a dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelcohn committed Apr 28, 2015
1 parent 54db55a commit 48f6def
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/shellfire/swaddle/publishers/githubpages.functions
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,13 @@ swaddle_publishers_githubpages_publish()
:
}

core_dependency_requires '*' git
swaddle_publishers_githubpages_finish()
{
if core_variable_isFalse "$swaddle_publishGithub"; then
return 0
fi

if core_variable_isFalse "$_swaddle_canPublishToGithubPages"; then
return 0
fi
Expand Down

0 comments on commit 48f6def

Please sign in to comment.