Skip to content

Commit

Permalink
Fix not working issue on Windows (#202)
Browse files Browse the repository at this point in the history
Fixed the issue that pr command doesn't work well
on Windows platform.

ISSUE=#200
  • Loading branch information
nadongguri authored and romandev committed Nov 23, 2017
1 parent 3c2cfbd commit 2bd327a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bootstrap/command/pr
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.

if [[ $# == 1 ]]; then
if [ "$#" = "1" ]; then
git pull origin pull/$1/head
elif [[ $# == 2 ]]; then
elif [ "$#" = "2" ]; then
git fetch origin pull/$1/head:$2
else
echo "Usage: bacardi pr <pull_request_number> [optional: branch_name]"
Expand Down

0 comments on commit 2bd327a

Please sign in to comment.