Skip to content

Commit b4fc2d5

Browse files
committed
Make generated gitignore stricter
1 parent 7731600 commit b4fc2d5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎packages/config/src/features/catalogue/storage.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export async function writeCatalogueMessages(
2828
const declarationPath = `${path}.d.ts`;
2929
const ignoreDirectory = expandBucketOutputIgnoreDirectory(bucket);
3030
const ignorePath = join(ignoreDirectory, '.gitignore');
31-
const ignoreContent = `.gitignore\n*.d.ts`;
31+
const ignoreContent = `.gitignore\n*.${bucket.formatter.extension.slice(1)}.d.ts`;
3232

3333
await mkdir(dirname(path), { recursive: true });
3434
await mkdir(ignoreDirectory, { recursive: true });

0 commit comments

Comments
 (0)