Skip to content

Commit 97fb819

Browse files
committed
fix(log): remove deprecated load config
1 parent a675a7e commit 97fb819

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/commands/log.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { createChangelog } from '../changelog';
22
import type { GeneriConsole, GitNewTag, GitPrerelease, LogOptions } from '../types';
33
import { lastTag, setVersion, setTag, newCommits, isValidTag, pushCommits } from '../git';
4-
import { exists, existsConfig, getFile, getFileRoot, isPrerelease } from '../utils';
4+
import { exists, getFile, getFileRoot, isPrerelease } from '../utils';
55
import { getGeneri } from '../generi';
66
import { publish } from '../npm';
77
import { nextTag } from '../tag';
@@ -11,10 +11,6 @@ import { destr } from 'destr';
1111
const validateLog = (tag: GitNewTag, console: GeneriConsole) => {
1212
const commits = newCommits();
1313

14-
if (!existsConfig()) {
15-
console.error('Generi not exists! Use <generi init> command instead.');
16-
}
17-
1814
if (commits.length < 1) {
1915
console.error('There are no valid commits to create a new release.');
2016
}

0 commit comments

Comments
 (0)