Skip to content

Commit 8997640

Browse files
committed
chore: format using repo defined tasks
1 parent 5fc1694 commit 8997640

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/release.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -271,12 +271,11 @@ if (!(await Confirm.prompt({ message: `Bump ${dim(`(${manifest.version} → ${ne
271271
await step(`Updating version in ${manifestFile}`, async () => {
272272
manifest.version = newVersion
273273
await Deno.writeTextFile(manifestFile, JSON.stringify(manifest, null, 2))
274-
await $`deno fmt ${manifestFile}`
275274
})
276275

277276
await step('Generating changelog', async () => {
278277
await $`deno run -A --no-lock npm:conventional-changelog-cli -i CHANGELOG.md -s -p conventionalcommits -k deno.json`
279-
await $`deno fmt CHANGELOG.md`
278+
await $`deno task format`
280279
})
281280

282281
if (!(await Confirm.prompt({ message: 'Changelog generated. Does it look good?' }))) Deno.exit()

0 commit comments

Comments
 (0)