danieldelcore / danieldelcore/commitpal

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

Open
#13 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
28
Forks
0
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.