Skip to content

Commit 3128867

Browse files
committed
[issues/87] removed unnecessary / and correct C&P-Error
else the url would be wrongly: https://getcomposer.org//composer.phar
1 parent d69494e commit 3128867

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

composer-action.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ else
1919
;;
2020
# get the latest snapshot
2121
Snapshot | snapshot)
22-
phar_url="${phar_url}/composer.phar"
22+
phar_url="${phar_url}composer.phar"
2323
;;
2424
# get the latest version of the v1 tree
2525
1 | 1.x)
26-
phar_url="${phar_url}download/latest-2.x/composer.phar"
26+
phar_url="${phar_url}download/latest-1.x/composer.phar"
2727
;;
2828
# get the latest version of the v2 tree
2929
2 | 2.x)

0 commit comments

Comments
 (0)