danieldelcore / danieldelcore/commitpal
Loading a config file only works with relative paths 🤷♂️
- 主要语言
- JavaScript
- 星标
- 28
- 派生
- 0
- PR 合并指标
- 30 天内没有已合并 PR
描述
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
```
贡献指南
这个仓库没有索引到贡献指南
调研方向
Reproduce the issue with commitpal -c using a home-directory path, an absolute path, and the working relative path shown in the examples. Find the CLI entry point and config-loading code, then verify that absolute and home-directory paths load the specified config instead of falling back to preset selection.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100