diff --git a/packages/maven/src/lib/utils/generators.ts b/packages/maven/src/lib/utils/generators.ts index e08d2263a..b885caec7 100644 --- a/packages/maven/src/lib/utils/generators.ts +++ b/packages/maven/src/lib/utils/generators.ts @@ -91,7 +91,7 @@ export function addLibraryToProjects( } } -export function updateGitIgnore(tree: Tree, skipWrapper: boolean) { +export function updateGitIgnore(tree: Tree, skipWrapper: boolean | undefined) { const filePath = `.gitignore`; const contents = tree.read(filePath, 'utf-8') || '';