diff options
Diffstat (limited to 'src/helpers/recipe-helpers.ts')
-rw-r--r-- | src/helpers/recipe-helpers.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/helpers/recipe-helpers.ts b/src/helpers/recipe-helpers.ts index 93c107cc5..68a1578e3 100644 --- a/src/helpers/recipe-helpers.ts +++ b/src/helpers/recipe-helpers.ts | |||
@@ -15,6 +15,7 @@ export function loadRecipeConfig(recipeId: string) { | |||
15 | try { | 15 | try { |
16 | const configPath = `${recipeId}/package.json`; | 16 | const configPath = `${recipeId}/package.json`; |
17 | // Delete module from cache | 17 | // Delete module from cache |
18 | // eslint-disable-next-line @typescript-eslint/no-dynamic-delete | ||
18 | delete require.cache[require.resolve(configPath)]; | 19 | delete require.cache[require.resolve(configPath)]; |
19 | 20 | ||
20 | // eslint-disable-next-line import/no-dynamic-require | 21 | // eslint-disable-next-line import/no-dynamic-require |