Skip to content
This repository was archived by the owner on Mar 6, 2024. It is now read-only.

Commit 7e1e05c

Browse files
authored
remove redundant messages from changesets (#229)
<!-- This is an auto-generated comment: release notes by openai --> ### Summary by OpenAI ## Release Notes - Refactor: Remove redundant messages and properties from `Inputs` class constructor in `src/inputs.ts` and `render` method in `src/prompts.ts`. > "Redundancies be gone, > Codebase now sings a new song. > Inputs and prompts refined, > Quality of code now defined." <!-- end of auto-generated comment: release notes by openai -->
1 parent d21dc3b commit 7e1e05c

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

dist/index.js

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/inputs.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ export class Inputs {
1616
systemMessage = '',
1717
title = 'no title provided',
1818
description = 'no description provided',
19-
summary = 'no summary so far',
20-
releaseNotes = 'no release notes so far',
21-
filename = 'unknown',
19+
rawSummary = '',
20+
releaseNotes = '',
21+
filename = '',
2222
fileContent = 'file contents cannot be provided',
2323
fileDiff = 'file diff cannot be provided',
2424
patches = '',
@@ -29,7 +29,7 @@ export class Inputs {
2929
this.systemMessage = systemMessage
3030
this.title = title
3131
this.description = description
32-
this.rawSummary = summary
32+
this.rawSummary = rawSummary
3333
this.releaseNotes = releaseNotes
3434
this.filename = filename
3535
this.fileContent = fileContent

src/prompts.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ Your task is to de-deduplicate and group together files with
5050
related/similar changes into a single changeset. Respond with the updated
5151
changesets using the same format as the input.
5252
53-
Changesets:
5453
$raw_summary
5554
`
5655

0 commit comments

Comments
 (0)