From 4f733fc2cf3c8bd7a09b055f4d2966fd22d46cb5 Mon Sep 17 00:00:00 2001 From: Donovan Keme Date: Thu, 19 May 2022 14:33:43 -0700 Subject: [PATCH 1/2] Update .gitignore to allow use of word "coverage" API endpoints and content-types created with name "coverage" will be omitted unless exempted --- examples/getstarted/.gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/getstarted/.gitignore b/examples/getstarted/.gitignore index b21952454a..3b1e4e0705 100644 --- a/examples/getstarted/.gitignore +++ b/examples/getstarted/.gitignore @@ -101,6 +101,8 @@ node_modules testApp coverage +!src/api/coverage +!src/api/content-types/coverage ############################ # Strapi From 90db0788f1c60744df06ff432fe7d65acae81587 Mon Sep 17 00:00:00 2001 From: Donovan Keme Date: Thu, 26 May 2022 14:23:10 -0700 Subject: [PATCH 2/2] Update to focus on specific target directory Rather than any directory including the word `coverage` --- examples/getstarted/.gitignore | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/getstarted/.gitignore b/examples/getstarted/.gitignore index 3b1e4e0705..42f3fcdbd2 100644 --- a/examples/getstarted/.gitignore +++ b/examples/getstarted/.gitignore @@ -100,9 +100,7 @@ node_modules ############################ testApp -coverage -!src/api/coverage -!src/api/content-types/coverage +/coverage/ ############################ # Strapi