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

Citizen module publish does not apply owner switches but will apply ENV CITIZEN_MODULE_OWNER in mysql #118

Open
abourget-cainc opened this issue May 17, 2023 · 0 comments

Comments

@abourget-cainc
Copy link

Ran the following:

citizen module -r https://registry.address.com -o me testmod testmod aws 0.0.1
citizen module -r https://registry.address.com --owner me testmod testmod aws 0.0.1

Neither populated the owner column in the mysql database.

Ran without the switches but with the env variable CITIZEN_MODULE_OWNER set, and the owner column was populated in the mysql database.

Suspect this line zeros out the owner if the env variable isn't set:

const owner = process.env.CITIZEN_MODULE_OWNER || '';

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