Skip to content

Commit

Permalink
fix deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Nielsvanpach committed Jan 20, 2025
1 parent ca07d7e commit 820205e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Console/Commands/ImportDocsFromRepositoriesCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ protected function createProcessComponent(array $repository, string $branch, str
&& git config core.sparseCheckout true \
&& echo "/docs" >> .git/info/sparse-checkout \
&& git remote add -f origin https://{$accessToken}@github.com/spatie/{$repository['name']}.git \
&& git pull origin ${branch} \
&& git pull origin {$branch} \
&& cp -r docs/* ../../../docs/{$repository['name']}/{$alias} \
&& echo "---\ntitle: {$repository['name']}\ncategory: {$repository['category']}\n---" > ../../../docs/{$repository['name']}/_index.md \
&& cd docs/ \
Expand Down

0 comments on commit 820205e

Please sign in to comment.