Skip to content

Commit abe110f

Browse files
committed
Change output for cloning repository
Changed output when cloning repository, because of initialization of submodule. Git always output some text, and this is actually considered as error. Update provide possibility to deploy repository with submodules.
1 parent 60c5fde commit abe110f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipe/common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
*/
7878
task('deploy:update_code', function () {
7979
$repository = get('repository');
80-
run("git clone --recursive -q $repository {release_path}");
80+
run("git clone --recursive -q $repository {release_path} 2>&1");
8181
run("chmod -R g+w {release_path}");
8282
})->desc('Updating code');
8383

0 commit comments

Comments
 (0)