Fix in generate integrations docs script (#16108)
Fotis Voutsas committed
Oct 3, 2023 at 15:51 UTC
71df2b1677b6f450572b45b101d0b66e56cc733f
1 file changed
+1
-1
integrations/gen_docs_integrations.py
+1
-1
@@ -24,7 +24,7 @@ def cleanup():
24
if "integrations" in str(element):
25
shutil.rmtree(element)
26
for element in Path("integrations/cloud-notifications").glob('**/*/'):
27
- if "integrations" in str(element):
27
+ if "integrations" in str(element) and not "metadata.yaml" in str(element):
28
shutil.rmtree(element)
29
30