From 4c0a50ccc54784e4d6dc56d797bbb83a73ef99af Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Fri, 21 Feb 2020 02:07:42 +0000 Subject: [PATCH] Limit depth of worddpress extension checkout --- cookbooks/wordpress/resources/plugin.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/cookbooks/wordpress/resources/plugin.rb b/cookbooks/wordpress/resources/plugin.rb index 468440eca..72fd3973d 100644 --- a/cookbooks/wordpress/resources/plugin.rb +++ b/cookbooks/wordpress/resources/plugin.rb @@ -47,6 +47,7 @@ action :create do action :sync repository plugin_repository revision new_resource.revision + depth 1 user node[:wordpress][:user] group node[:wordpress][:group] end -- 2.43.2