Skip to content

Commit a675a7e

Browse files
committed
chore: format
1 parent 3d91efe commit a675a7e

File tree

2 files changed

+5
-10
lines changed

2 files changed

+5
-10
lines changed

src/changelog.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ const setBasic = (commit: Commit, config: GeneriOptions) => {
4848
result = commit.summary;
4949
}
5050

51-
const sha = config?.repository && config?.repository !== 'https:'
52-
? ` - [[${commit.sha}](${config.repository}/commit/${commit.sha})]`
53-
: '';
51+
const sha =
52+
config?.repository && config?.repository !== 'https:'
53+
? ` - [[${commit.sha}](${config.repository}/commit/${commit.sha})]`
54+
: '';
5455

5556
if (config.commits === 'conventional-commits') {
5657
if (!result[0] || !result[1]) return '';

src/git.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,7 @@ import fs from 'fs-extra';
33
import path from 'pathe';
44
import { versionBump } from 'bumpp';
55
import { glob } from 'tinyglobby';
6-
import type {
7-
Commit,
8-
GeneriConsole,
9-
GitNewTag,
10-
GitPrerelease,
11-
Root,
12-
} from './types';
6+
import type { Commit, GeneriConsole, GitNewTag, GitPrerelease, Root } from './types';
137
import { getRoot, setFile, getFile, getFileRoot } from './utils';
148
import { isChangesForCommit } from './utils';
159
import { destr } from 'destr';

0 commit comments

Comments
 (0)