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

Config file and plugins in the same repo #35

Open
srt4rulez opened this issue Feb 28, 2019 · 0 comments
Open

Config file and plugins in the same repo #35

srt4rulez opened this issue Feb 28, 2019 · 0 comments

Comments

@srt4rulez
Copy link

You cannot have both a local config file and a plugins directory in the same repo.

git-semver/git-semver.sh

Lines 350 to 353 in 4a00f79

if [ -f "${DIR_ROOT}/.git-semver" ]
then
FILE_CONF="${DIR_ROOT}/.git-semver"
source "${FILE_CONF}"

This line above checks for a .git-semver file for the config, while the code below looks for the .git-semver/plugins directory:

plugin_dir="${dirs[${i}]}/.git-semver/plugins"

Maybe I'm missing something, but you can't have a file be a folder.

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