danieldelcore / danieldelcore/commitpal

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

Aperta
#13 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
JavaScript
Stelle
28
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.