Skip to content

Commit

Permalink
less ceremony
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendan Forster authored Aug 1, 2018
1 parent 2b5c55c commit 02d8073
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/draft-release/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ export async function run(args: ReadonlyArray<string>): Promise<void> {

if (channel === 'production') {
const existingChangelog = getChangelogEntriesSince(previousVersion)
const entries = new Array<string>(...existingChangelog)
const entries = [...existingChangelog]
printInstructions(nextVersion, entries)
} else if (channel === 'beta') {
const entries = new Array<string>(...changelogEntries)
const entries = [...changelogEntries]
printInstructions(nextVersion, entries)
}
}
Expand Down

0 comments on commit 02d8073

Please sign in to comment.