Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manually specify the configuration file path at startup #230

Open
adolphor opened this issue Jan 29, 2024 · 0 comments
Open

Manually specify the configuration file path at startup #230

adolphor opened this issue Jan 29, 2024 · 0 comments

Comments

@adolphor
Copy link

adolphor commented Jan 29, 2024

I'm trying to use cz-customizable for Java project, which not contains package.json configuration. So I set the global git hooks for all the Java projects.

  • macOS system works fine, cz-customizable could use the config file in the home path.
  • Windows system with one disk works fine, cz-customizable could use the config file in the home path, too.
  • Windows system with more than one disk works failed, for example D disk, cz-customizable could not find the config file in the home path in C disk.

So I was wondering,

commitlint can set config parameter at startup:
npx commitlint --config /my/path/commitlint.config.js

Could cz-customizable running like as below ?
npx cz-customizable --config /my/path/.cz-config.js

If not, how could I solve the problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant