Skip to content

Commit df72e80

Browse files
committed
fix(log): correct warning in config file exists
1 parent 187b23f commit df72e80

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/log.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const setup = (tag: GitNewTag, options: LogOptions) => {
3939
'generi.json file is not supported in v2. New format in documentation.'
4040
);
4141

42-
if (!exists('./generi.config.ts') || !exists('./generi.config.js'))
42+
if (!exists('./generi.config.ts') && !exists('./generi.config.js'))
4343
console.warning('generi.config was not found, default config loaded.');
4444

4545
const lerna = getFile(getFileRoot(config.lernaPath));

0 commit comments

Comments
 (0)