danieldelcore / danieldelcore/commitpal

Loading a config file only works with relative paths 🤷‍♂️

Offen
#13 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug
Vorherrschende Sprache
JavaScript
Sterne
28
Forks
0
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Loading a config file only works with relative paths 🤷‍♂️

### Examples

1. ~ expansion e.g.
```sh
$ commitpal -c ~/.commitpal.config.json -n
Error: /Users/jvernon/.commitpal.config.json not found

? Please choose a preset …
Angular commit format
Emoji
Jira ticket
```

1. Absolute paths e.g.
```sh
$ commitpal -c /Users/jvernon/.commitpal.config.json -n
Error: /Users/jvernon/.commitpal.config.json not found

? Please choose a preset …
Angular commit format
Emoji
Jira ticket
```

1. Relative paths e.g.
```sh
commitpal -c ./.commitpal.config.json -n
? What type of change? …
feature
bugfix
documentation
style
tests
chore
```

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.