Skip to content

Commit

Permalink
fix(cli): default file name wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
dcalsky committed Jan 28, 2018
1 parent e9e0027 commit 3928430
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ $RECYCLE.BIN/
dist/
.idea/

.change-reminder
.changelog-reminder

.vscode/
bin/
5 changes: 0 additions & 5 deletions change-reminder.yaml

This file was deleted.

2 changes: 1 addition & 1 deletion src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Argv } from "./config";

interface IArgv extends Argv, yargs.Arguments {}

const defaultConfigPath = "change-reminder.yaml";
const defaultConfigPath = "changelog-reminder.yaml";
const argv = yargs
.usage("Usage: $0 [options]")
.options({
Expand Down
4 changes: 2 additions & 2 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import * as yaml from "js-yaml";
import { Arguments } from "yargs";

const defaultChangelogPath = "CHANGELOG";
const defaultLoggerPath = ".change-reminder";
const defaultConfigPath = "change-reminder.yaml";
const defaultLoggerPath = ".changelog-reminder";
const defaultConfigPath = "changelog-reminder.yaml";

export interface Argv {
config: string;
Expand Down

0 comments on commit 3928430

Please sign in to comment.