Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fail fix.

  • Loading branch information...
commit 4ccf7f77263a8fc74a77f584835eb73dc2883143 1 parent a48f66d
@rcrowley authored
Showing with 4 additions and 4 deletions.
  1. +2 −2 bin/publish
  2. +2 −2 bin/republish
View
4 bin/publish
@@ -7,11 +7,11 @@ if (3 == $argc && "-c" == $argv[1]) {
$comments = !$COMMENTS;
$arg = $argv[2];
}
-if (3 == $argc && "--comments" == $argv[1]) {
+else if (3 == $argc && "--comments" == $argv[1]) {
$comments = true;
$arg = $argv[2];
}
-if (3 == $argc && "--no-comments" == $argv[1]) {
+else if (3 == $argc && "--no-comments" == $argv[1]) {
$comments = false;
$arg = $argv[2];
}
View
4 bin/republish
@@ -7,11 +7,11 @@ if (3 == $argc && "-c" == $argv[1]) {
$comments = !$COMMENTS;
$arg = $argv[2];
}
-if (3 == $argc && "--comments" == $argv[1]) {
+else if (3 == $argc && "--comments" == $argv[1]) {
$comments = true;
$arg = $argv[2];
}
-if (3 == $argc && "--no-comments" == $argv[1]) {
+else if (3 == $argc && "--no-comments" == $argv[1]) {
$comments = false;
$arg = $argv[2];
}
Please sign in to comment.
Something went wrong with that request. Please try again.