danieldelcore / danieldelcore/commitpal

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

Ouverte
#13 2 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug
Langage dominant
JavaScript
Étoiles
28
Forks
0
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.