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

lc should abort if lc.yml is not present, or if project_name is not properly defined #71

Open
joeygibson opened this issue Apr 19, 2017 · 1 comment

Comments

@joeygibson
Copy link
Contributor

Currently, if there is no lc.yml present, lc will continue working. It should stop dead in its tracks.

Also, project_name needs to be defined, either through lc.yml, or from the command line. Not having it screws up docker network creation between local and Jenkins.

@therishidesai
Copy link

In the LoadConfigFile Function, if the lc.yml file is not found it returns nil. I don't know if halting the program there is the best way to solve this since wouldn't that prevent the creation of an lc.yml file. I might be miss understanding something.

func LoadConfigFile(file string) error {

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

No branches or pull requests

3 participants