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 || ''; |